renaming
This commit is contained in:
@@ -50,10 +50,10 @@
|
||||
BlockEditorModelObject.prototype = {
|
||||
|
||||
getBlockConfiguration: function(alias) {
|
||||
return this.blockConfigurations.find(blockConfiguration => blockConfiguration.contentTypeAlias === alias);
|
||||
return this.blockConfigurations.find(bc => bc.contentTypeAlias === alias);
|
||||
},
|
||||
|
||||
loadScaffolds: function(contentResource) {
|
||||
loadScaffolding: function(contentResource) {
|
||||
var tasks = [];
|
||||
|
||||
var scaffoldAliases = [];
|
||||
|
||||
+1
-1
@@ -865,7 +865,7 @@
|
||||
|
||||
var modelObject = blockEditorService.createModelObject(model.value, model.editor, model.config.blocks);
|
||||
|
||||
modelObject.loadScaffolds(contentResource).then(loaded);
|
||||
modelObject.loadScaffolding(contentResource).then(loaded);
|
||||
|
||||
vm.layout = [];
|
||||
vm.blocks = [];
|
||||
|
||||
Reference in New Issue
Block a user