Skip to content
Snippets Groups Projects
Commit ba72e2f9 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 8bc1fea7
No related branches found
No related tags found
No related merge requests found
......@@ -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 ($) {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment