From ba72e2f9a43fb968ba1bc3ee3f45c86ea8b1deb3 Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Thu, 10 Dec 2009 17:29:29 +0000 Subject: [PATCH] #654964 by sun: Fixed Remove babysitting code for cross-js library convention. --- misc/drupal.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/misc/drupal.js b/misc/drupal.js index e3a48d4981aa..440833968a04 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 ($) { /** -- GitLab