diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2009-03-23 01:55:17 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2009-03-23 01:55:17 +0000 |
commit | f8ef75eb9124ce924be5fb521c783efd5c996e33 (patch) | |
tree | e249197bfb42c77b26e068954cbcf70b9c5bb91a /src/manipulation.js | |
parent | e06da1724cf05a83e14efa8b854348ac4e4a599a (diff) | |
download | jquery-f8ef75eb9124ce924be5fb521c783efd5c996e33.tar.gz jquery-f8ef75eb9124ce924be5fb521c783efd5c996e33.zip |
remove trailing spaces
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index ce9b91791..c537c7095 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -146,13 +146,13 @@ jQuery.fn.extend({ for ( var i = 0, l = this.length; i < l; i++ ) callback.call( root(this[i], first), this.length > 1 || i > 0 ? fragment.cloneNode(true) : fragment ); - + if ( scripts ) jQuery.each( scripts, evalScript ); } return this; - + function root( elem, cur ) { return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ? (elem.getElementsByTagName("tbody")[0] || @@ -306,7 +306,7 @@ jQuery.extend({ // IE completely kills leading whitespace when innerHTML is used if ( !jQuery.support.leadingWhitespace && /^\s/.test( elem ) ) div.insertBefore( context.createTextNode( elem.match(/^\s*/)[0] ), div.firstChild ); - + elem = jQuery.makeArray( div.childNodes ); } @@ -327,7 +327,7 @@ jQuery.extend({ fragment.appendChild( ret[i] ); } } - + return scripts; } |