Sha256: 7070b9d531ef39310dcefc07f1c22f319d20fc1af729ce648a9bb083fecec97a
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 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 rescue nil if sprockets_env 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' } else 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' } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reactrb-0.8.3 | config.ru |
reactrb-0.8.1 | config.ru |