jquery_update.module in jQuery Update 5.2
Same filename and directory in other branches
This Drupal module helps with updating core jQuery. Drupal 5.x is shipped with jQuery 1.0.1. This module helps you to install a later version.
See also
File
jquery_update.moduleView source
<?php
/**
* @file
* This Drupal module helps with updating core jQuery.
* Drupal 5.x is shipped with jQuery 1.0.1.
* This module helps you to install a later version.
*
* @see jquery_update.install
*/
/**
* Implementation of hook_menu().
*/
function jquery_update_menu($may_cache) {
$items = array();
if (!$may_cache) {
drupal_add_js(drupal_get_path('module', 'jquery_update') . '/compat.js');
}
return $items;
}
Functions
Name | Description |
---|---|
jquery_update_menu | Implementation of hook_menu(). |