From 664cac0bd5bb6c620d918d01c42bd2bcc0d4c9b3 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 5 May 2020 19:11:16 -0230 Subject: [PATCH] Delete window.js (#8521) --- app/scripts/platforms/window.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 app/scripts/platforms/window.js diff --git a/app/scripts/platforms/window.js b/app/scripts/platforms/window.js deleted file mode 100644 index 3dd8ba37f..000000000 --- a/app/scripts/platforms/window.js +++ /dev/null @@ -1,27 +0,0 @@ -class WindowPlatform { - /** - * Reload the platform - */ - reload () { - /** @type {any} */ (global).location.reload() - } - - /** - * Opens a window - * @param {{url: string}} opts - The window options - */ - openWindow (opts) { - /** @type {any} */ (global).open(opts.url, '_blank') - } - - /** - * Returns the platform version - * @returns {string} - */ - getVersion () { - return '' - } - -} - -export default WindowPlatform