2 * Implements hook_js_alter().
4 function {{ machine_name }}_js_alter(&$javascript) {
5 // Swap out jQuery to use an updated version of the library.
6 $javascript['misc/jquery.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js';