behaviors.module

Events happening in the community are now at Drupal community events on www.drupal.org.
kkaefer's picture

behaviors.module: docking JavaScript behaviors into Drupal

Now that we have jQuery in Core, there are new JavaScript enhancements for Drupal popping up everywhere. Most of these enhancements are pretty small. To add them to a page, it usually requires a module. But those modules don't do much more than just adding the JavaScript file with drupal_add_js - the whole module system with all of its callbacks and so on is just overkill for that problem.

On #drupal we have discussed the need for a module that gathers all those JavaScript enhancements in just one module. In the rest of the proposal, I will use the word "behavior" for a JavaScript enhancement file.

Read more
Subscribe with RSS Syndicate content