Skip to content

Commit d2360f9

Browse files
committed
cleanup typo
1 parent 9bc5194 commit d2360f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/assets/javascripts/react_ujs_p.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
var $ = (typeof window.jQuery !== 'undefined') && window.jQuery;
66

77
// rather than create another namespace just for the 3 methods and 2
8-
// propertios we expose just append them to the `React.ujs` object
8+
// properties we expose just append them to the `React.ujs` object
99
React.ujs = {
1010

1111
CLASS_NAME_ATTR: 'data-react-class',
@@ -16,6 +16,7 @@
1616
// `data-react-class` DOM elements
1717
findDOMNodes: function() {
1818

19+
// we will use fully qualified paths as we do not bind the callbacks
1920
var selector = '[' + React.ujs.CLASS_NAME_ATTR + ']';
2021

2122
if ($) return $(selector);
@@ -24,8 +25,6 @@
2425
},
2526

2627
mountComponents: function() {
27-
28-
// we will use fully qualified paths as we do not bind the callbacks
2928
var nodes = React.ujs.findDOMNodes();
3029

3130
for (var i = 0; i < nodes.length; ++i) {

0 commit comments

Comments
 (0)