Doing so would allow other modules to use it. In reading the documentation, this seems to be the best practice when including jQuery plugins, etc.

See here: http://drupal.org/node/756722

Comments

guschilds’s picture

Note: commit c5497bf slightly altered the original formHints code (around .submit() if I remember correctly). If we are going to have users download the plugin from an external source, we will want to discover why that change needed to be made and how to accomodate it so they don't experience the same issue (formHints not being properly cleared upon form submission).

chrisfree’s picture

Status: Needs work » Closed (fixed)

The 7.x branch now uses a "Legacy Support" option that adds the jQuery plugin as a library appropriately. Closing as fixed.