mirror of
https://github.com/lancedikson/bowser
synced 2025-06-13 13:03:52 +00:00
Merge 2c4915f0b2
into 23545d4403
This commit is contained in:
commit
42da9f69c7
@ -1,7 +1,7 @@
|
||||
!function (name, definition) {
|
||||
if (typeof define == 'function') define(definition)
|
||||
else if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
|
||||
else this[name] = definition()
|
||||
!function (name, definition, context) {
|
||||
if (typeof module != 'undefined' && module.exports) module.exports = definition()
|
||||
else if (typeof context['define'] == 'function' && context['define']['amd']) define(name, definition)
|
||||
else context[name] = definition()
|
||||
}('bowser', function () {
|
||||
/**
|
||||
* navigator.userAgent =>
|
||||
@ -113,4 +113,4 @@
|
||||
} else bowser.x = t
|
||||
|
||||
return bowser
|
||||
})
|
||||
}, this)
|
||||
|
Loading…
Reference in New Issue
Block a user