@devexpress/utils
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -40,4 +40,5 @@ export declare class Browser { | ||
static fillDocumentElementBrowserTypeClassNames(browserTypesOrderedList: string[]): void; | ||
private static getUserAgent; | ||
static _foo: void; | ||
} | ||
//# sourceMappingURL=browser.d.ts.map |
@@ -195,3 +195,3 @@ "use strict"; | ||
documentElementClassName += 'dxBrowserVersion-' + Browser.MajorVersion; | ||
if (document && document.documentElement) { | ||
if (typeof document !== 'undefined' && document && document.documentElement) { | ||
if (document.documentElement.className !== '') | ||
@@ -203,3 +203,6 @@ documentElementClassName = ' ' + documentElementClassName; | ||
}; | ||
Browser.UserAgent = navigator.userAgent.toLowerCase(); | ||
Browser.getUserAgent = function () { | ||
return typeof navigator !== 'undefined' && navigator.userAgent ? navigator.userAgent.toLowerCase() : ''; | ||
}; | ||
Browser.UserAgent = Browser.getUserAgent(); | ||
Browser._foo = Browser.IdentUserAgent(Browser.UserAgent); | ||
@@ -206,0 +209,0 @@ return Browser; |
{ | ||
"name": "@devexpress/utils", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "DevExpress utils", | ||
@@ -5,0 +5,0 @@ "author": "DevExpress Inc.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
825345
16860