[Edit] Add spec for toolbar
Add spec for class that will convert toolbar definition provided by views to suitable input for mct-toolbar, WTD-878.
This commit is contained in:
25
platform/commonUI/edit/src/representers/EditToolbar.js
Normal file
25
platform/commonUI/edit/src/representers/EditToolbar.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*global define*/
|
||||
define(
|
||||
[],
|
||||
function () {
|
||||
"use strict";
|
||||
|
||||
function EditToolbar(structure, selection) {
|
||||
|
||||
return {
|
||||
getStructure: function () {
|
||||
|
||||
},
|
||||
getState: function () {
|
||||
|
||||
},
|
||||
updateState: function (key) {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return EditToolbar;
|
||||
}
|
||||
);
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
[],
|
||||
function () {
|
||||
"use strict";
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user