fix: exports both as global and browser props

pull/77/head
Vincent Voyer 9 years ago
parent a6b2d702d2
commit 63591da04c

@ -1,5 +1,8 @@
!function (name, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
if (typeof module != 'undefined' && module.exports) {
module.exports = definition()
module.exports['browser'] = definition()
}
else if (typeof define == 'function' && define.amd) define(definition)
else this[name] = definition()
}('bowser', function () {

Loading…
Cancel
Save