You are here

function waypoints_library in jQuery waypoints 7

Implement hook_library().

Return value

array An array defining libraries associated with a module.

File

./waypoints.module, line 66
@author Kálmán Hosszu - hosszu.kalman@gmail.com - http://www.kalman-hosszu.com

Code

function waypoints_library() {
  $libraries = array();
  $libraries['waypoints'] = array(
    'title' => 'jQuery Waypoints',
    'website' => 'http://imakewebthings.github.com/jquery-waypoints/',
    'version' => '1.0.2',
    'js' => array(
      drupal_get_path('module', 'waypoints') . '/waypoints.min.js' => array(),
    ),
  );
  return $libraries;
}