mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
fix global exports
This commit is contained in:
parent
c7d663a7b5
commit
29bb872ab2
@ -4,11 +4,11 @@
|
|||||||
* MIT License | (c) Dustin Diaz 2015
|
* MIT License | (c) Dustin Diaz 2015
|
||||||
*/
|
*/
|
||||||
|
|
||||||
!function (name, definition) {
|
!function (root, name, definition) {
|
||||||
if (typeof module != 'undefined' && module.exports) module.exports = definition()
|
if (typeof module != 'undefined' && module.exports) module.exports = definition()
|
||||||
else if (typeof define == 'function' && define.amd) define(name, definition)
|
else if (typeof define == 'function' && define.amd) define(name, definition)
|
||||||
else this[name] = definition()
|
else root[name] = definition()
|
||||||
}('bowser', function () {
|
}(this, 'bowser', function () {
|
||||||
/**
|
/**
|
||||||
* See useragents.js for examples of navigator.userAgent
|
* See useragents.js for examples of navigator.userAgent
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user