lib/assets/javascripts/react_ujs.js in react-rails-2.0.2 vs lib/assets/javascripts/react_ujs.js in react-rails-2.1.0

- old
+ new

@@ -14,13 +14,13 @@ /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} @@ -236,10 +236,10 @@ // If jQuery is detected, save a reference to it for event handlers jQuery: (typeof window !== 'undefined') && (typeof window.jQuery !== 'undefined') && window.jQuery, // 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; switch (typeof searchSelector) { \ No newline at end of file