function joyride_libraries_info in Joyride JQuery for Drupal Site Tours 7
Implements hook_libraries_info(). Return information about external libraries.
See also
http://drupal.org/documentation/modules/libraries
File
- ./
joyride.module, line 11
Code
function joyride_libraries_info() {
$libraries['joyride'] = array(
'name' => 'Joyride',
'vendor url' => 'http://www.zurb.com/',
'download url' => 'https://github.com/zurb/joyride',
'version callback' => 'joyride_version',
'version arguments' => array(
'file' => 'jquery.joyride-' . JOYRIDE_LIBRARY_VERSION . '.js',
// jQuery Foundation Joyride Plugin 2.0.2
'pattern' => '/jQuery Foundation Joyride Plugin ([\\d][\\d\\.\\0]+)/',
'lines' => 2,
),
'files' => array(
'js' => array(
'jquery.joyride-' . JOYRIDE_LIBRARY_VERSION . '.js',
'modernizr.mq.js',
),
'css' => array(
'joyride-' . JOYRIDE_LIBRARY_VERSION . '.css',
),
),
);
return $libraries;
}