Skip to content

Commit

Permalink
fixed issues from review discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
SqueezedLight committed Mar 8, 2016
1 parent 40c97e2 commit 9621a16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions node_package/src/ReactOnRails.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { reactOnRailsPageLoaded, clientStartup } from './clientStartup';
import * as ClientStartup from './clientStartup';
import handleError from './handleError';
import ComponentRegistry from './ComponentRegistry';
import StoreRegistry from './StoreRegistry';
Expand Down Expand Up @@ -61,7 +61,7 @@ ctx.ReactOnRails = {
},

reactOnRailsPageLoaded() {
reactOnRailsPageLoaded();
ClientStartup.reactOnRailsPageLoaded();
},

////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -176,6 +176,6 @@ ctx.ReactOnRails = {

ReactOnRails.resetOptions();

clientStartup(ctx);
ClientStartup.clientStartup(ctx);

export default ctx.ReactOnRails;
6 changes: 5 additions & 1 deletion spec/dummy/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../..
specs:
react_on_rails (3.0.6)
react_on_rails (3.0.5)
connection_pool
execjs (~> 2.5)
foreman
Expand Down Expand Up @@ -72,6 +72,9 @@ GEM
capybara-screenshot (1.0.11)
capybara (>= 1.0, < 3)
launchy
capybara-webkit (1.8.0)
capybara (>= 2.3.0, < 2.7.0)
json
childprocess (0.5.9)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (1.0.0)
Expand Down Expand Up @@ -300,6 +303,7 @@ DEPENDENCIES
bootstrap-sass
capybara
capybara-screenshot
capybara-webkit
chromedriver-helper
coffee-rails (~> 4.1.0)
coveralls
Expand Down

0 comments on commit 9621a16

Please sign in to comment.