1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

fix module.exports

fix #71
This commit is contained in:
vvo 2015-03-06 14:24:51 +01:00
parent 5a3d3766b9
commit a6b2d702d2
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
!function (name, definition) { !function (name, definition) {
if (typeof module != 'undefined' && module.exports) module.exports['browser'] = 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(definition)
else this[name] = definition() else this[name] = definition()
}('bowser', function () { }('bowser', function () {

View File

@ -9,7 +9,7 @@ var g
, ua , ua
, p , p
, assert = require('assert') , assert = require('assert')
, browser = require('../src/bowser').browser , browser = require('../src/bowser')
, allUserAgents = require('../src/useragents').useragents , allUserAgents = require('../src/useragents').useragents
/** /**