function splashify_libraries_info in Splashify 7
Implements hook_libraries_info().
File
- ./
splashify.module, line 103
Code
function splashify_libraries_info() {
$libraries = array();
// jStorage
$libraries['jstorage'] = array(
'name' => 'jStorage library',
'vendor url' => 'http://www.jstorage.info/',
'download url' => 'https://github.com/andris9/jStorage/zipball/master',
'version callback' => '_splashify_jstorage_version',
'version arguments' => array(
'1',
'2',
),
'versions' => array(
'1' => array(),
'2' => array(),
),
'files' => array(
'js' => array(
'jstorage.js',
),
),
'variants' => array(
'minified' => array(
'files' => array(
'js' => array(
'jstorage.min.js',
),
),
'variant callback' => '_splashify_test_installed',
'variant arguments' => array(),
),
),
);
// Mobile Detect
$libraries['Mobile_Detect'] = array(
'name' => 'Mobile Detect',
'vendor url' => 'http://mobiledetect.net',
'download url' => 'https://raw.github.com/serbanghita/Mobile-Detect/master/Mobile_Detect.php',
'version callback' => '_splashify_mobiledetect_version',
'files' => array(
'php' => array(
'Mobile_Detect.php',
),
),
'versions' => array(
'2' => array(),
),
);
return $libraries;
}