define( function ( require ) { var TodoApp = require( 'main' ); TodoApp.start(); } );
beforeEach(function (done) { d3.select("div.overlay").remove(); pm = ProjectManager.getInstance(); main.start({noSplash: true}).then(function () { setTimeout(done, 0);//using a timeout to push this to the end of the event queue so any files are added and project is ready before performing tests }); });
beforeEach(function (done) { d3.select("div.overlay").remove(); pm = ProjectManager.getInstance(); main.start({noSplash: true}).then(function () { p = pm.project(); done(); }).catch(util.expectError(done)); });
beforeEach(function (done) { d3.select("div.overlay").remove(); pm = ProjectManager.getInstance(); main.start({noSplash: true}).then(function () { p = pm.project(); editorPanel = "div.collapsible-panel-parent[plugin-owner='PrototypeBuilder'] .collapsible-panel"; done(); }).catch(util.expectError(done)); });
beforeAll(function (done) { pm = pb.getProjectManager(); main.start({noSplash: true}).then(function () { done(); }); });