mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
23 lines
253 B
JavaScript
23 lines
253 B
JavaScript
|
|
||
|
class WindowPlatform {
|
||
|
|
||
|
//
|
||
|
// Public
|
||
|
//
|
||
|
|
||
|
reload () {
|
||
|
global.location.reload()
|
||
|
}
|
||
|
|
||
|
openWindow ({ url }) {
|
||
|
global.open(url, '_blank')
|
||
|
}
|
||
|
|
||
|
getVersion () {
|
||
|
return '<unable to read version>'
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = WindowPlatform
|