mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
Merge pull request #154 from szchenghuang/meteor-export
UAParser is exposed globally to the window object. It can be used directly.
This commit is contained in:
@@ -7,6 +7,5 @@ Package.describe({
|
|||||||
});
|
});
|
||||||
|
|
||||||
Package.on_use(function (api) {
|
Package.on_use(function (api) {
|
||||||
api.export("UAParser");
|
|
||||||
api.addFiles("src/ua-parser.js");
|
api.addFiles("src/ua-parser.js");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user