function sharerich_libraries_info in Sharerich 7.3
Same name and namespace in other branches
- 7 sharerich.module \sharerich_libraries_info()
- 7.2 sharerich.module \sharerich_libraries_info()
Implements hook_libraries_info().
File
- ./
sharerich.module, line 35
Code
function sharerich_libraries_info() {
return array(
'rrssb' => array(
'title' => 'Ridiculously Responsive Social Share Buttons',
'vendor url' => 'http://kurtnoble.com/labs/rrssb/',
'download url' => 'https://github.com/kni-labs/rrssb',
'version arguments' => array(
'file' => 'bower.json',
'pattern' => '/version"\\s*:\\s*"([0-9\\.]+)",$/',
),
'callbacks' => array(
'pre-load' => array(
'sharerich_libraries_preload',
),
),
'files' => array(
'js' => array(
'js/rrssb.js',
),
'css' => array(
'css/rrssb.css',
),
),
'variants' => array(
'minified' => array(
'files' => array(
'css' => array(
'css/rrssb.css',
),
'js' => array(
'js/rrssb.min.js',
),
),
),
'source' => array(
'files' => array(
'css' => array(
'css/normalize.min.css',
),
'js' => array(
'js/rrssb.js',
),
),
),
),
),
);
}