function manualcrop_libraries_info in Manual Crop 7
Implements hook_libraries_info().
File
- ./
manualcrop.module, line 102
Code
function manualcrop_libraries_info() {
$libraries = array();
$libraries['jquery.imagesloaded'] = array(
'name' => 'imagesLoaded',
'vendor url' => 'https://github.com/desandro/imagesloaded/tree/v2.1.1',
'version arguments' => array(
'file' => 'jquery.imagesloaded.js',
'pattern' => '# v([0-9\\.]+)#',
'lines' => 5,
'cols' => 40,
),
'files' => array(
'js' => array(
'jquery.imagesloaded.min.js',
),
),
'variants' => array(
'source' => array(
'files' => array(
'js' => array(
'jquery.imagesloaded.js',
),
),
),
),
);
$libraries['jquery.imgareaselect'] = array(
'name' => 'imgAreaSelect',
'vendor url' => 'https://github.com/odyniec/imgareaselect/tree/v0.9.11-rc.1',
'version arguments' => array(
'file' => 'imgareaselect.jquery.json',
'pattern' => '#"version"[\\t ]*:[\\t ]*"([^"]+)"#',
'lines' => 6,
'cols' => 40,
),
'files' => array(
'js' => array(
'jquery.imgareaselect.dev.js',
),
'css' => array(
'distfiles/css/imgareaselect-animated.css',
),
),
);
return $libraries;
}