function freepager_libraries_info in Free pager 7.2
Implements hook_libraries_info().
File
- ./
freepager.module, line 20 - Some basic function for Free pager. Mostly implementations of Views hooks.
Code
function freepager_libraries_info() {
$libraries['jquery-mobile'] = array(
'name' => 'jQuery mobile',
'vendor url' => 'http://jquerymobile.com/',
'download url' => 'http://jquerymobile.com/download/',
'files' => array(
'js' => array(
'jquery.mobile.js' => array(),
),
),
'version arguments' => array(
'file' => 'jquery.mobile.js',
// Best practice: Document the actual version strings for later reference.
// 1.x: Version 1.0
'pattern' => '/jQuery Mobile (\\d+)/',
'lines' => 2,
),
);
return $libraries;
}