diff --git a/src/bowser.js b/src/bowser.js index c496a73..676a64a 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -6,7 +6,7 @@ !function (name, definition) { if (typeof module != 'undefined' && module.exports) module.exports = definition() - else if (typeof define == 'function' && define.amd) define(definition) + else if (typeof define == 'function' && define.amd) define(name, definition) else this[name] = definition() }('bowser', function () { /**