respect source guidelines

This commit is contained in:
Jephte CLAIN 2010-11-22 08:12:12 +04:00
parent 689d63f487
commit 1ac7b459a4

View file

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