Merge branch 'master' of https://github.com/jclain/jquery into jclain-master
This commit is contained in:
commit
122514a8da
1 changed files with 4 additions and 2 deletions
|
@ -358,9 +358,11 @@ jQuery.extend = jQuery.fn.extend = function() {
|
|||
|
||||
jQuery.extend({
|
||||
noConflict: function( deep ) {
|
||||
window.$ = _$;
|
||||
if ( window.$ === jQuery ) {
|
||||
window.$ = _$;
|
||||
}
|
||||
|
||||
if ( deep ) {
|
||||
if ( deep && window.jQuery === jQuery ) {
|
||||
window.jQuery = _jQuery;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue