Sha256: e36cbbf07972c080cb0c5902451ef4aa3ec7c142e1b8caf40983252b71802185
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
require 'bundler' Bundler.require require "opal/rspec" require "opal-jquery" Opal.append_path File.expand_path('../spec', __FILE__) sprockets_env = Opal::RSpec::SprocketsEnvironment.new run Opal::Server.new(sprockets: sprockets_env) { |s| s.main = 'opal/rspec/sprockets_runner' sprockets_env.add_spec_paths_to_sprockets s.debug = false s.index_path = 'spec/index.html.erb' } # run Opal::Server.new { |s| # s.main = 'opal/rspec/sprockets_runner' # s.append_path 'spec' # #s.append_path File.dirname(::React::Source.bundled_path_for("react-with-addons.js")) # s.debug = true # s.index_path = 'spec/index.html.erb' # }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reactrb-0.8.0 | config.ru |