Skip to content

Instantly share code, notes, and snippets.

@emjayess
Created March 25, 2011 19:13
Show Gist options
  • Save emjayess/887417 to your computer and use it in GitHub Desktop.
Save emjayess/887417 to your computer and use it in GitHub Desktop.
include a more up-to-date version of jquery than what ships with Drupal 7 core...
function hook_js_alter(&$js) {
$js['misc/jquery.js']['data'] = drupal_get_path('module', 'jquery_update') . '/jquery.js';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment