#654964 by sun: Fixed Remove babysitting code for cross-js library convention.

merge-requests/26/head
Angie Byron 2009-12-10 17:29:29 +00:00
parent 8bc1fea750
commit ba72e2f9a4
1 changed files with 0 additions and 7 deletions

View File

@ -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 ($) {
/**