function slider_pro_libraries_info in Slider Pro 7
Implements hook_libraries_info().
File
- ./
slider_pro.module, line 21
Code
function slider_pro_libraries_info() {
$libraries['slider-pro'] = array(
'name' => 'Slider Pro',
'vendor url' => 'http://bqworks.com/slider-pro/',
'download url' => 'https://github.com/bqworks/slider-pro',
'path' => 'dist',
'version arguments' => array(
'file' => 'dist/js/jquery.sliderPro.min.js',
// Version 1.2.0
'pattern' => '/- v(1.2\\.+\\d+)/',
'lines' => 5,
),
'files' => array(
'js' => array(
'js/jquery.sliderPro.min.js',
),
'css' => array(
'css/slider-pro.min.css',
),
),
);
return $libraries;
}