1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

fix global exports

This commit is contained in:
Dmitri Voronianski 2016-11-29 15:22:28 +01:00 committed by GitHub
parent c7d663a7b5
commit 29bb872ab2

View File

@ -4,11 +4,11 @@
* MIT License | (c) Dustin Diaz 2015
*/
!function (name, definition) {
!function (root, name, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
else if (typeof define == 'function' && define.amd) define(name, definition)
else this[name] = definition()
}('bowser', function () {
else root[name] = definition()
}(this, 'bowser', function () {
/**
* See useragents.js for examples of navigator.userAgent
*/