This commit is contained in:
Mo Bitar
2020-02-05 13:17:20 -06:00
parent 8c898b51be
commit 1ae3790ea3
48 changed files with 99518 additions and 2230 deletions

View File

@@ -22,8 +22,8 @@ export function isNullOrUndefined(value) {
export function getPlatformString() {
try {
var platform = navigator.platform.toLowerCase();
var trimmed = '';
const platform = navigator.platform.toLowerCase();
let trimmed = '';
if (platform.indexOf('mac') !== -1) {
trimmed = 'mac';
} else if (platform.indexOf('win') !== -1) {