mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
ensure the define belongs to amd
This commit is contained in:
parent
defca35d7c
commit
657f85a1b8
@ -1,6 +1,6 @@
|
|||||||
!function (name, definition) {
|
!function (name, definition) {
|
||||||
if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
|
if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
|
||||||
else if (typeof define == 'function') define(definition)
|
else if (typeof define == 'function' && define.amd) define(definition)
|
||||||
else this[name] = definition()
|
else this[name] = definition()
|
||||||
}('bowser', function () {
|
}('bowser', function () {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user