mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Merge branch 'master' of https://github.com/jclain/jquery into jclain-master
This commit is contained in:
commit
122514a8da
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user