aboutsummaryrefslogblamecommitdiffstats
path: root/app/scripts/platforms/window.js
blob: 1527c008b62cc8a1d51aac0eb1ace88c131efd91 (plain) (tree)





















                                     

class WindowPlatform {

  //
  // Public
  //

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

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

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

}

module.exports = WindowPlatform