1
0
mirror of https://github.com/lancedikson/bowser synced 2025-06-13 13:03:52 +00:00
This commit is contained in:
José F. Romaniello 2012-09-03 05:57:34 -07:00
commit 42da9f69c7

View File

@ -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)