function datex_api_libraries_info in Datex 7.2
Implements hook_libraries_info().
Utilizes libararies module hooks to add support of jQuery World Calendar written by keith wood. Check the library at keith-wood.info, He has written some very cool stuff, Which I will add to datex later.
File
- datex_api/
datex_api.module, line 86
Code
function datex_api_libraries_info() {
$libraries['jquery.calendars'] = array(
'vendor url' => 'http://keith-wood.info',
'download url' => 'http://keith-wood.name/zip/jquery.calendars.package-1.2.1.zip',
'name' => t('jQuery calendars'),
'version arguments' => array(
'file' => 'jquery.calendars.all.js',
'pattern' => '#v(\\d\\.\\d\\.\\d)\\.#',
'lines' => 2,
),
'files' => array(
'js' => array(
'jquery.calendars.all.min.js',
'jquery.calendars.lang.min.js',
'jquery.calendars.picker.lang.min.js',
'jquery.calendars.persian.min.js',
'jquery.calendars.persian-fa.js',
),
),
'variants' => array(
'normal' => array(
'files' => array(
'js' => array(
'jquery.calendars.all.js',
'jquery.calendars.lang.js',
'jquery.calendars.picker.lang.js',
'jquery.calendars.persian.js',
'jquery.calendars.persian-fa.js',
),
),
),
),
);
return $libraries;
}