diff --git a/lib/assets/javascripts/react_ujs.js b/lib/assets/javascripts/react_ujs.js index 78a3c4e7..f99db649 100644 --- a/lib/assets/javascripts/react_ujs.js +++ b/lib/assets/javascripts/react_ujs.js @@ -238,7 +238,7 @@ var ReactRailsUJS = { // helper method for the mount and unmount methods to find the // `data-react-class` DOM elements - findDOMNodes: function(selector) { + findDOMNodes: function(searchSelector) { var classNameAttr = ReactRailsUJS.CLASS_NAME_ATTR // we will use fully qualified paths as we do not bind the callbacks var selector, parent; @@ -502,4 +502,4 @@ module.exports = function(reqctx) { /***/ }) /******/ ]); -}); \ No newline at end of file +}); diff --git a/react_ujs/dist/react_ujs.js b/react_ujs/dist/react_ujs.js index 78a3c4e7..f99db649 100644 --- a/react_ujs/dist/react_ujs.js +++ b/react_ujs/dist/react_ujs.js @@ -238,7 +238,7 @@ var ReactRailsUJS = { // helper method for the mount and unmount methods to find the // `data-react-class` DOM elements - findDOMNodes: function(selector) { + findDOMNodes: function(searchSelector) { var classNameAttr = ReactRailsUJS.CLASS_NAME_ATTR // we will use fully qualified paths as we do not bind the callbacks var selector, parent; @@ -502,4 +502,4 @@ module.exports = function(reqctx) { /***/ }) /******/ ]); -}); \ No newline at end of file +}); diff --git a/react_ujs/index.js b/react_ujs/index.js index 81163dc3..29e79dad 100644 --- a/react_ujs/index.js +++ b/react_ujs/index.js @@ -20,7 +20,7 @@ var ReactRailsUJS = { // helper method for the mount and unmount methods to find the // `data-react-class` DOM elements - findDOMNodes: function(selector) { + findDOMNodes: function(searchSelector) { var classNameAttr = ReactRailsUJS.CLASS_NAME_ATTR // we will use fully qualified paths as we do not bind the callbacks var selector, parent; diff --git a/test/dummy/app/views/pages/show.html.erb b/test/dummy/app/views/pages/show.html.erb index f88cbb54..04644a30 100644 --- a/test/dummy/app/views/pages/show.html.erb +++ b/test/dummy/app/views/pages/show.html.erb @@ -1,10 +1,13 @@