Merge pull request #205 from piperchester/patch-1

Fix formatting for consistency
This commit is contained in:
Faisal Salman 2016-12-07 14:35:43 +07:00 committed by GitHub
commit 764de40fe0

View File

@ -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) {