Skip to content

Commit 9a76532

Browse files
committed
Merge branch '0.10'
Conflicts: README.md lib/react/rails/railtie.rb lib/react/rails/version.rb react-rails.gemspec test/jsxtransform_test.rb
2 parents d4f4c04 + 64b3061 commit 9a76532

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/react/rails/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Railtie < ::Rails::Railtie
2121

2222
# run after all initializers to allow sprockets to pick up react.js and
2323
# jsxtransformer.js from end-user to override ours if needed
24-
initializer "react_rails.setup_vendor", :after => "sprockets.environment" do |app|
24+
initializer "react_rails.setup_vendor", :after => "sprockets.environment", group: :all do |app|
2525
# Mimic behavior of ember-rails...
2626
# We want to include different files in dev/prod. The unminified builds
2727
# contain console logging for invariants and logging to help catch

react-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
2323

2424
s.add_dependency 'execjs'
2525
s.add_dependency 'rails', '>= 3.1'
26-
s.add_dependency 'react-source', '0.9.0'
26+
s.add_dependency 'react-source', '0.10.0'
2727
s.add_dependency 'connection_pool'
2828

2929
s.files = Dir[

test/jsxtransform_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
(function() {
1515
var Component;
1616
17-
Component = React.createClass({
18-
displayName:'Component',
17+
Component = React.createClass({displayName: 'Component',
1918
render: function() {
2019
return ExampleComponent( {videos:this.props.videos} );
2120
}

0 commit comments

Comments
 (0)