diff options
author | jeresig <jeresig@gmail.com> | 2010-03-01 21:24:49 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-03-01 21:24:49 -0500 |
commit | dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5 (patch) | |
tree | 8a1575a43c3f62be0aa768590742246fa950f11b /src/manipulation.js | |
parent | 8c8f685a911c811e9b998958dd453a6a2b9d5940 (diff) | |
download | jquery-dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5.tar.gz jquery-dcf0fa5048ef2379d551f29ffa29b14ec5ee09d5.zip |
More changes to get jQuery in line with JSLint.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index 529280a62..f276a07cd 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -357,16 +357,16 @@ jQuery.fn.extend({ } return this; - - function root( elem, cur ) { - return jQuery.nodeName(elem, "table") ? - (elem.getElementsByTagName("tbody")[0] || - elem.appendChild(elem.ownerDocument.createElement("tbody"))) : - elem; - } } }); +function root( elem, cur ) { + return jQuery.nodeName(elem, "table") ? + (elem.getElementsByTagName("tbody")[0] || + elem.appendChild(elem.ownerDocument.createElement("tbody"))) : + elem; +} + function cloneCopyEvent(orig, ret) { var i = 0; @@ -530,7 +530,7 @@ jQuery.extend({ } if ( fragment ) { - for ( var i = 0; ret[i]; i++ ) { + for ( i = 0; ret[i]; i++ ) { if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) { scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] ); |