diff options
author | jeresig <jeresig@gmail.com> | 2010-09-08 13:54:33 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-08 13:54:33 -0400 |
commit | bca576550249e9b79b1097669dff6d4ddd0d65cf (patch) | |
tree | 457ee8cba209159bee20fcf16e69546f7e30b60b /src/manipulation.js | |
parent | 116f3b7c72004f3173a7d92457154a1fdb2180e1 (diff) | |
download | jquery-bca576550249e9b79b1097669dff6d4ddd0d65cf.tar.gz jquery-bca576550249e9b79b1097669dff6d4ddd0d65cf.zip |
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index cb898cc3c..3054eea1d 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,3 +1,5 @@ +(function( jQuery ) { + var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, @@ -599,4 +601,6 @@ function evalScript( i, elem ) { if ( elem.parentNode ) { elem.parentNode.removeChild( elem ); } -}
\ No newline at end of file +} + +})( jQuery ); |