Merge branch 'master' of https://github.com/jclain/jquery into jclain-master

This commit is contained in:
John Resig 2011-04-12 16:26:41 -04:00
commit 122514a8da

View file

@ -358,9 +358,11 @@ jQuery.extend = jQuery.fn.extend = function() {
jQuery.extend({ jQuery.extend({
noConflict: function( deep ) { noConflict: function( deep ) {
if ( window.$ === jQuery ) {
window.$ = _$; window.$ = _$;
}
if ( deep ) { if ( deep && window.jQuery === jQuery ) {
window.jQuery = _jQuery; window.jQuery = _jQuery;
} }