Loading a jQuery plugin from the Libraries 2.X module in Drupal 7? I am using the jQuery Easing plugin (http://gsgd.co.uk/sandbox/jquery/easing/) for one of my Drupal 7 themes. I see that there is a Libraries module that loads this plugin in a way that allows other modules and themes to use it: http://drupal.org/project/jqeasing.

Is this the correct way to load the library?


After loading the library, Do I need to explicitly call drupal add js from the template.php theme file? The documentation for the Libraries module for theme development is terrible. I may contribute to it, once I get this sorted out.
Yea using a module that exposes it as a library is totally the way to go.

And you certainly don't want to use drupal_add_js because drupal_add_library  [link] will do it the proper way.

And for your case:

drupal_add_library('jqeasing', 'easing');