summaryrefslogtreecommitdiff
path: root/misc/drupal.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-10 17:29:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-10 17:29:29 +0000
commitba72e2f9a43fb968ba1bc3ee3f45c86ea8b1deb3 (patch)
treeead87784f53843a26f5eff7337bf40a290a8f170 /misc/drupal.js
parent8bc1fea750627b59ef0a7ff037ebc7c0bae8b42a (diff)
downloadbrdo-ba72e2f9a43fb968ba1bc3ee3f45c86ea8b1deb3.tar.gz
brdo-ba72e2f9a43fb968ba1bc3ee3f45c86ea8b1deb3.tar.bz2
#654964 by sun: Fixed Remove babysitting code for cross-js library convention.
Diffstat (limited to 'misc/drupal.js')
-rw-r--r--misc/drupal.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/misc/drupal.js b/misc/drupal.js
index e3a48d498..440833968 100644
--- a/misc/drupal.js
+++ b/misc/drupal.js
@@ -5,13 +5,6 @@ var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'locale': {} };
// Allow other JavaScript libraries to use $.
jQuery.noConflict();
-// Indicate when other scripts use $ with out wrapping their code.
-if ($ === undefined) {
- $ = function () {
- alert('Please wrap your JavaScript code in (function ($) { ... })(jQuery); to be compatible. See http://docs.jquery.com/Using_jQuery_with_Other_Libraries.');
- };
-}
-
(function ($) {
/**