1
0
mirror of https://github.com/lancedikson/bowser synced 2024-09-28 22:30:44 +00:00

Merge pull request #63 from stefanpenner/patch-1

ensure the define belongs to amd
This commit is contained in:
Dustin Diaz 2014-10-06 11:00:24 -07:00
commit a058eb3c71

View File

@ -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 () {
/**