Sha256: cdd1486f0b59b6dea4fab49d6991a14bfc809c996dff7f2afe06140027df770b

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

# app/views/components.rb
require 'opal'
require 'react'
require 'hyper-mesh'
if React::IsomorphicHelpers.on_opal_client?
  require 'opal-jquery'
  require 'browser'
  require 'browser/interval'
  require 'browser/delay'
  # add any additional requires that can ONLY run on client here
end
require 'reactrb-router'
require 'react_router'
require 'hyper-trace'
#require 'reactive-record'

require 'models'
require_tree './components'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper-mesh-0.5.0 examples/simple-poller/app/views/components.rb
hyper-mesh-0.4.0 examples/simple-poller/app/views/components.rb