mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Export to modules first, place at root.
This commit is contained in:
parent
23545d4403
commit
b4c625c797
@ -4,8 +4,8 @@
|
||||
* MIT License | (c) Dustin Diaz 2011
|
||||
*/
|
||||
!function (name, definition) {
|
||||
if (typeof define == 'function') define(definition)
|
||||
else if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
|
||||
if (typeof module != 'undefined' && module.exports) module.exports = definition()
|
||||
else if (typeof define == 'function') define(definition)
|
||||
else this[name] = definition()
|
||||
}('bowser', function () {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user