Sha256: 6b19366cd79c93b393555fbb2583515119333e702a8812d3b6b4d16028654064

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

# app/views/components.rb
require 'opal'
require 'react'
require 'hyper-react'
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-mesh'
require 'models'
require_tree './components'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyper-mesh-0.4.0 examples/words/app/views/components.rb