cleanup webpack

This commit is contained in:
djmaze 2020-08-07 16:28:30 +02:00
parent 6d29acb7eb
commit ecbe543b15
10 changed files with 44 additions and 68 deletions

View file

@ -12,16 +12,6 @@ export { $win };
export const $html = $('html');
export const $htmlCL = window.document.documentElement.classList;
export const $body = $('body');
export const $div = $('<div></div>');
export const $hcont = $('<div></div>');
$hcont
.attr('area', 'hidden')
.css({ position: 'absolute', left: -5000 })
.appendTo($body);
/**
* @type {boolean}
*/
@ -40,14 +30,9 @@ export const useKeyboardShortcuts = ko.observable(true);
/**
* @type {string}
*/
export const sUserAgent =
const sUserAgent =
('navigator' in window && 'userAgent' in window.navigator && window.navigator.userAgent.toLowerCase()) || '';
/**
* @type {boolean}
*/
export const bSafari = !sUserAgent.includes('chrome') && sUserAgent.includes('safari');
/**
* @type {boolean}
*/