mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Fix formatting for consistency
This commit is contained in:
parent
29a0372611
commit
49609c0990
@ -817,7 +817,7 @@
|
|||||||
this.getOS = function () {
|
this.getOS = function () {
|
||||||
return mapper.rgx.apply(this, rgxmap.os);
|
return mapper.rgx.apply(this, rgxmap.os);
|
||||||
};
|
};
|
||||||
this.getResult = function() {
|
this.getResult = function () {
|
||||||
return {
|
return {
|
||||||
ua : this.getUA(),
|
ua : this.getUA(),
|
||||||
browser : this.getBrowser(),
|
browser : this.getBrowser(),
|
||||||
@ -900,7 +900,7 @@
|
|||||||
if (typeof $ !== UNDEF_TYPE) {
|
if (typeof $ !== UNDEF_TYPE) {
|
||||||
var parser = new UAParser();
|
var parser = new UAParser();
|
||||||
$.ua = parser.getResult();
|
$.ua = parser.getResult();
|
||||||
$.ua.get = function() {
|
$.ua.get = function () {
|
||||||
return parser.getUA();
|
return parser.getUA();
|
||||||
};
|
};
|
||||||
$.ua.set = function (uastring) {
|
$.ua.set = function (uastring) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user