Пример #1
0
define( function ( require ) {

	var TodoApp = require( 'main' );

	TodoApp.start();

} );
Пример #2
0
 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
     });
 });
Пример #3
0
 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));
 });
Пример #4
0
 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));
 });
Пример #5
0
				beforeAll(function (done) {
					pm = pb.getProjectManager();
					main.start({noSplash: true}).then(function () {
                        done();
                    });
				});