function live_css_libraries_info in Live CSS 7.2
Implements hook_libraries_info().
File
- ./
live_css.module, line 371 - Allows editing and a live view of all changes in real-time in the browser.
Code
function live_css_libraries_info() {
$theme = variable_get('live_css_theme', 'tomorrow');
$libraries['ace'] = array(
'name' => 'Ace',
'vendor url' => 'http://ace.c9.io/',
'download url' => 'https://github.com/ajaxorg/ace-builds/archive/master.zip',
'version arguments' => array(
'file' => 'ChangeLog.txt',
'pattern' => '@Version\\s+([0-9a-zA-Z\\.-]+)@',
'lines' => 30,
),
'files' => array(
'js' => array(
'src/ace.js',
'src/mode-css.js',
'src/theme-' . $theme . '.js',
),
),
);
return $libraries;
}