From 49609c09907e26d6f3a81004988b3c14263badd3 Mon Sep 17 00:00:00 2001 From: Piper Chester Date: Tue, 6 Dec 2016 22:16:25 -0800 Subject: [PATCH] Fix formatting for consistency --- src/ua-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ua-parser.js b/src/ua-parser.js index df69765..23ed194 100644 --- a/src/ua-parser.js +++ b/src/ua-parser.js @@ -817,7 +817,7 @@ this.getOS = function () { return mapper.rgx.apply(this, rgxmap.os); }; - this.getResult = function() { + this.getResult = function () { return { ua : this.getUA(), browser : this.getBrowser(), @@ -900,7 +900,7 @@ if (typeof $ !== UNDEF_TYPE) { var parser = new UAParser(); $.ua = parser.getResult(); - $.ua.get = function() { + $.ua.get = function () { return parser.getUA(); }; $.ua.set = function (uastring) {