Skip to content

Conversation

@elliotttf
Copy link
Member

This pull request backports the jQuery noconflict work introduced in D7 here: [http://drupal.org/node/125030].

This is desirable so that other JavaScript libraries that use the $ variable won't interfere with jQuery. To be fully compliant, contributed modules would still need to wrap their JavaScript with (function($) { ... })(jQuery); but some of the big ones already do (i.e. CTools, Panels, WYSIWYG, etc).

This change will not break modules that do not wrap their JavaScript, a site using a contributed module that doesn't wrap its JS just won't be able to use another JS library that uses the $ variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant