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 a new issue