Sha256: bfddbebb6f87f1e4129dfa111ec63da3ebaf1623b8709afa2f593b2d06023de6

Contents?: true

Size: 321 Bytes

Versions: 8

Compression:

Stored size: 321 Bytes

Contents

if (typeof window !== 'undefined') {
  window.Hyperstack = {
    hotloader: function(port, ping) {
      Opal.Hyperstack.$const_get('Hotloader').$listen(port || 25222, ping || Opal.nil)
    }
  }
} else {
  throw 'Attempt to run hotloader during prerendering - make sure you import with the `client_only: true` option'
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyperstack-config-1.0.alpha1.4 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.3 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.2 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.1 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.0.pre.alpha1 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.pre.alpha1 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-0.1 lib/hyperstack/hotloader/short_cut.js