Sha256: 31519a5d88673e76dc4915cede2ab62e9dbbb2206cb178d0ee63a933adf29d00

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

#assets/javascript/application.rb
# only put files that are browser side only.

require 'components'  # this pulls in your components from the components.rb manifest file  
require 'jquery'      # you need both these files to access jQuery from Opal
require 'opal-jquery' # they must be in this order, and after the components require
require 'browser'     # opal access to browser specific methods (such as setTimer)
require 'react_ujs'   # this is required and is part of the prerendering system
# whatever else you might need here

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reactive-ruby-0.7.4 example/tutorial/app/assets/javascripts/application.rb