Delete window.js (#8521)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent aac16b7134
commit 664cac0bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      app/scripts/platforms/window.js

@ -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 '<unable to read version>'
}
}
export default WindowPlatform
Loading…
Cancel
Save