Fix #268 revert changes

This commit is contained in:
Faisal Salman 2017-10-12 15:15:36 +07:00
parent 40aa1a693b
commit 6095258673
6 changed files with 12 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ua-parser-js",
"version": "0.7.16",
"version": "0.7.17",
"authors": [
"Faisal Salman <fyzlman@gmail.com>"
],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
Package.describe({
name: 'faisalman:ua-parser-js',
version: '0.7.16',
version: '0.7.17',
summary: 'Lightweight JavaScript-based user-agent string parser',
git: 'https://github.com/faisalman/ua-parser-js.git',
documentation: 'readme.md'

View File

@ -1,7 +1,7 @@
{
"title": "UAParser.js",
"name": "ua-parser-js",
"version": "0.7.16",
"version": "0.7.17",
"author": "Faisal Salman <f@faisalman.com> (http://faisalman.com)",
"description": "Lightweight JavaScript-based user-agent string parser",
"keywords": [

View File

@ -1,5 +1,5 @@
/**
* UAParser.js v0.7.16
* UAParser.js v0.7.17
* Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js
*
@ -16,7 +16,7 @@
/////////////
var LIBVERSION = '0.7.16',
var LIBVERSION = '0.7.17',
EMPTY = '',
UNKNOWN = '?',
FUNC_TYPE = 'function',
@ -1006,7 +1006,8 @@
if (typeof module !== UNDEF_TYPE && module.exports) {
exports = module.exports = UAParser;
}
// TODO: test!!!
// TODO: test!!!!!!!!
/*
if (require && require.main === module && process) {
// cli
var jsonize = function (arr) {
@ -1033,6 +1034,7 @@
});
}
}
*/
exports.UAParser = UAParser;
} else {
// requirejs env (optional)