Include ua in result object

This commit is contained in:
Faisal Salman
2013-04-04 14:50:46 +07:00
parent 8d439d26b8
commit be0eec6716
6 changed files with 15 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
// UAParser.js v0.6.0
// UAParser.js v0.6.1
// Lightweight JavaScript-based User-Agent string parser
// https://github.com/faisalman/ua-parser-js
//
@@ -479,6 +479,7 @@
};
this.getResult = function() {
return {
ua : this.getUA(),
browser : this.getBrowser(),
engine : this.getEngine(),
os : this.getOS(),

File diff suppressed because one or more lines are too long