mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
officially change export to be the bowser
object directly
This commit is contained in:
parent
74be0b588c
commit
68d08113a5
@ -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 () {
|
||||||
|
@ -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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user