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

class SwPlatform {

  //
  // Public
  //

  reload () {
    // you cant actually do this
    global.location.reload()
  }

  openWindow ({ url }) {
    // this doesnt actually work
    global.open(url, '_blank')
  }

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

}

module.exports = SwPlatform