From 1cd0642cd26f8ae5afadea4918110bdd9f7e89b3 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Fri, 10 Feb 2012 02:07:37 -0800 Subject: removed temporary test to open ninja without default document, since it is breaking other things. Signed-off-by: Ananya Sen --- js/io/document/document-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/io/document/document-controller.js b/js/io/document/document-controller.js index 16643a58..14231c64 100755 --- a/js/io/document/document-controller.js +++ b/js/io/document/document-controller.js @@ -68,13 +68,13 @@ var DocumentController = exports.DocumentController = Montage.create(Component, this.eventManager.addEventListener("recordStyleChanged", this, false); // Temporary testing opening a new file after Ninja has loaded - this.eventManager.addEventListener("executeNewProject", this, false); + //this.eventManager.addEventListener("executeNewProject", this, false); } }, handleAppLoaded: { value: function() { - //this.openDocument({"type": "html"}); + this.openDocument({"type": "html"}); } }, -- cgit v1.2.3