From aac16b713465cc672ada6200ccdc3c4382e91336 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 5 May 2020 19:10:56 -0230 Subject: [PATCH] Delete sw.js (#8520) --- app/scripts/platforms/sw.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 app/scripts/platforms/sw.js diff --git a/app/scripts/platforms/sw.js b/app/scripts/platforms/sw.js deleted file mode 100644 index 23cf49211..000000000 --- a/app/scripts/platforms/sw.js +++ /dev/null @@ -1,29 +0,0 @@ -class SwPlatform { - /** - * Reloads the platform - */ - reload () { - // TODO: you can't actually do this - /** @type {any} */ (global).location.reload() - } - - /** - * Opens a window - * @param {{url: string}} opts - The window options - */ - openWindow (opts) { - // TODO: this doesn't actually work - /** @type {any} */ (global).open(opts.url, '_blank') - } - - /** - * Returns the platform version - * @returns {string} - */ - getVersion () { - return '' - } - -} - -export default SwPlatform