ensure the define belongs to amd

pull/63/head
Stefan Penner 10 years ago
parent defca35d7c
commit 657f85a1b8

@ -1,6 +1,6 @@
!function (name, 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()
}('bowser', function () {
/**

Loading…
Cancel
Save