Partially migrate newsletter editor to Marionette 3.x from 2.x

This commit is contained in:
Tautvidas Sipavičius
2017-03-27 12:06:00 +03:00
parent 4f5c464659
commit 0b8c787cda
25 changed files with 261 additions and 228 deletions

View File

@@ -27,6 +27,7 @@ define([
global.stubChannel(EditorApplication);
global.stubConfig(EditorApplication);
EditorApplication.getBlockTypeModel = sinon.stub().returns(Backbone.SuperModel);
EditorApplication.getBlockTypeView = sinon.stub().returns(Backbone.View);
model = new (PostsBlock.PostsBlockModel)();
});