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 rnamespaces = /\.(.*)$/,
fcleanup = function( nm ) {
return nm.replace(/[^\w\s\.\|`]/g, function( ch ) {
@ -1109,3 +1111,5 @@ if ( window.attachEvent && !window.addEventListener ) {
}
});
}
})( jQuery );