aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/platforms/window.js
blob: 1527c008b62cc8a1d51aac0eb1ace88c131efd91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

class WindowPlatform {

  //
  // Public
  //

  reload () {
    global.location.reload()
  }

  openWindow ({ url }) {
    global.open(url, '_blank')
  }

  getVersion () {
    return '<unable to read version>'
  }

}

module.exports = WindowPlatform