Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.

This commit is contained in:
jeresig 2010-09-08 13:54:33 -04:00
parent 116f3b7c72
commit bca5765502
13 changed files with 51 additions and 2 deletions

View file

@ -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 );
}
}
}
})( jQuery );