File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 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' ,
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 ) ;
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 ) {
You can’t perform that action at this time.
0 commit comments