function underscore_init in Underscore.js 7
Implements hook_init().
File
- ./
underscore.module, line 11 - Integrates the Underscore JS Library.
Code
function underscore_init() {
// We use hook init rather than defining it in the .info file so
// it can be added as a library.
drupal_add_library('underscore', 'underscore');
}