aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2011-04-12 16:26:41 -0400
committerJohn Resig <jeresig@gmail.com>2011-04-12 16:26:41 -0400
commit122514a8da8f214dc3e7b7b17defdbff862e8748 (patch)
tree99fa93f0059eecf23a703a444243e875a41cbc69
parentf1d75edec70783d67f0e11459f0a2187d98cc553 (diff)
parent596f9a1f21be8b753cb95694da96189edf501ec8 (diff)
downloadjquery-122514a8da8f214dc3e7b7b17defdbff862e8748.tar.gz
jquery-122514a8da8f214dc3e7b7b17defdbff862e8748.zip
Merge branch 'master' of https://github.com/jclain/jquery into jclain-master
-rw-r--r--src/core.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index 87d5555be..89bbde5c0 100644
--- a/src/core.js
+++ b/src/core.js
@@ -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;
}