This repository was archived by the owner on Oct 19, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ ENV['REAL_BUNDLE_GEMFILE'] = ENV['BUNDLE_GEMFILE']
99require 'rspec/core/rake_task'
1010require 'opal/rspec/rake_task'
1111
12- require 'react/react-source'
13-
1412RSpec ::Core ::RakeTask . new ( 'ruby:rspec' )
1513
1614Opal ::RSpec ::RakeTask . new ( 'opal:rspec' ) do |s , task |
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ Bundler.require
44require "opal/rspec"
55require "opal-jquery"
66
7- require 'react/react-source'
8-
97if Opal ::RSpec . const_defined? ( "SprocketsEnvironment" )
108 sprockets_env = Opal ::RSpec ::SprocketsEnvironment . new
119 sprockets_env . cache = Sprockets ::Cache ::FileStore . new ( "tmp" )
Original file line number Diff line number Diff line change 4949
5050 Opal . append_path File . expand_path ( '../' , __FILE__ ) . untaint
5151 Opal . append_path File . expand_path ( '../sources/' , __FILE__ ) . untaint
52+ require "react/react-source"
5253end
Original file line number Diff line number Diff line change 5050
5151 Opal . append_path File . expand_path ( '../' , __FILE__ ) . untaint
5252 Opal . append_path File . expand_path ( '../sources/' , __FILE__ ) . untaint
53+ require "react/react-source"
5354end
You can’t perform that action at this time.
0 commit comments