You are here

jquery_update.module in jQuery Update 5.2

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.

File

jquery_update.module
View 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

Namesort descending Description
jquery_update_menu Implementation of hook_menu().