mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
closes #16 - move commonjs to first check
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
!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['browser'] = definition()
|
||||
else if (typeof define == 'function') define(definition)
|
||||
else this[name] = definition()
|
||||
}('bowser', function () {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user