Sha256: 000763964a3edbd595361ba7e126f6152ca05fd93cc4d78f78d296afed00d33f

Contents?: true

Size: 929 Bytes

Versions: 7

Compression:

Stored size: 929 Bytes

Contents

require 'hyperloop-config'
require 'rails/generators'

# remove these once lap29 is released ...
Hyperloop.js_import 'react/react-source-browser', client_only: true, defines: ['ReactDOM', 'React']
Hyperloop.js_import 'react/react-source-server', server_only: true, defines: 'React'
Hyperloop.js_import 'hyper-router/react-router-source', defines: ['ReactRouter', 'ReactRouterDOM', 'History']
Hyperloop.js_import 'react_ujs', defines: 'ReactRailsUJS'
# remove above once lap29 is released ...

Hyperloop.import 'reactrb/auto-import'
Hyperloop.import 'hyper-router'
Hyperloop.import 'hyper-model'

require 'generators/hyperloop/install_generator'
require 'generators/hyper/component_generator'
require 'generators/hyper/router_generator'
begin
  require 'opal-rails'
  require 'hyper-model'
  require 'hyper-router'
rescue LoadError
end
require 'react-rails'
require 'opal-browser'
require 'mini_racer'
require 'hyperloop/version'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyperloop-0.99.6 lib/hyperloop.rb
hyperloop-0.99.5 lib/hyperloop.rb
hyperloop-0.99.4 lib/hyperloop.rb
hyperloop-0.99.3 lib/hyperloop.rb
hyperloop-0.99.2 lib/hyperloop.rb
hyperloop-0.99.1 lib/hyperloop.rb
hyperloop-0.99.0 lib/hyperloop.rb