Commit 04228d4d authored by webchick's avatar webchick
Browse files

Issue #1849526 by effulgentsia: Added VIE and Create.js libraries to core.

parent 53e5a482
This diff is collapsed.
This diff is collapsed.
......@@ -1876,7 +1876,7 @@ function system_library_info() {
),
);
// Underscore
// Underscore.
$libraries['underscore'] = array(
'title' => 'Underscore.js',
'website' => 'http://underscorejs.org/',
......@@ -1886,7 +1886,7 @@ function system_library_info() {
),
);
// Backbone
// Backbone.
$libraries['backbone'] = array(
'title' => 'Backbone.js',
'website' => 'http://backbonejs.org/',
......@@ -1899,6 +1899,35 @@ function system_library_info() {
),
);
// VIE.
$libraries['vie.core'] = array(
'title' => 'VIE.js core (excluding services, views and xdr)',
'website' => 'http://viejs.org/',
'version' => '2.0.0-dev',
'js' => array(
'core/misc/vie/vie-core.js' => array('group' => JS_LIBRARY),
),
'dependencies' => array(
array('system', 'jquery'),
array('system', 'underscore'),
array('system', 'backbone'),
),
);
// Create.
$libraries['create.editonly'] = array(
'title' => 'Create.js edit-only (editing features only)',
'website' => 'http://backbonejs.org/',
'version' => '1.0.0-dev',
'js' => array(
'core/misc/create/create-editonly.js' => array('group' => JS_LIBRARY),
),
'dependencies' => array(
array('system', 'vie.core'),
array('system', 'jquery.ui.widget'),
),
);
// Cookie.
$libraries['jquery.cookie'] = array(
'title' => 'Cookie',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment