Remove trace decorator and unused platform consts

This commit is contained in:
Daniel Imms
2026-01-30 07:27:38 -08:00
parent 01450f044a
commit b30d9c3533
3 changed files with 1 additions and 39 deletions
-2
View File
@@ -39,8 +39,6 @@ export function getSafariVersion(): number {
// and ISO third level shifts.
// http://stackoverflow.com/q/19877924/577598
export const isMac = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'].includes(platform);
export const isIpad = platform === 'iPad';
export const isIphone = platform === 'iPhone';
export const isWindows = ['Windows', 'Win16', 'Win32', 'WinCE'].includes(platform);
export const isLinux = platform.indexOf('Linux') >= 0;
// Note that when this is true, isLinux will also be true.