aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-x[-rw-r--r--]js/ninja.reel/ninja.css0
-rwxr-xr-x[-rw-r--r--]js/ninja.reel/ninja.html18
-rwxr-xr-x[-rw-r--r--]js/ninja.reel/ninja.js3
3 files changed, 19 insertions, 2 deletions
diff --git a/js/ninja.reel/ninja.css b/js/ninja.reel/ninja.css
index 99fa9a4f..99fa9a4f 100644..100755
--- a/js/ninja.reel/ninja.css
+++ b/js/ninja.reel/ninja.css
diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html
index 706c8243..6630f4a8 100644..100755
--- a/js/ninja.reel/ninja.html
+++ b/js/ninja.reel/ninja.html
@@ -216,6 +216,11 @@
216 "name": "ElementMediator" 216 "name": "ElementMediator"
217 }, 217 },
218 218
219 "ioMediator": {
220 "module": "js/mediators/io-mediator",
221 "name": "IoMediator"
222 },
223
219 "undocontroller1": { 224 "undocontroller1": {
220 "module": "js/controllers/undo-controller", 225 "module": "js/controllers/undo-controller",
221 "name": "UndoController" 226 "name": "UndoController"
@@ -255,15 +260,22 @@
255 }, 260 },
256 261
257 "newFileController": { 262 "newFileController": {
258 "module": "js/io/workflow/newFileDialog/new-file-workflow-controller", 263 "module": "js/io/ui/new-file-dialog/new-file-workflow-controller",
259 "name": "NewFileWorkflowController" 264 "name": "NewFileWorkflowController"
260 }, 265 },
266
267 "coreIoApi1": {
268 "module": "js/io/system/coreioapi",
269 "name": "CoreIoApi"
270 },
261 271
262 "owner": { 272 "owner": {
263 "module": "js/ninja.reel", 273 "module": "js/ninja.reel",
264 "name": "Ninja", 274 "name": "Ninja",
265 "properties": { 275 "properties": {
266 "element": {"#": "main"}, 276 "element": {"#": "main"},
277 "rulerTop": {"#": "rulerTop"},
278 "rulerLeft": {"#": "rulerLeft"},
267 "appModel": {"@": "appModel"}, 279 "appModel": {"@": "appModel"},
268 "toolsData": {"@": "toolsData1"}, 280 "toolsData": {"@": "toolsData1"},
269 "toolsList": {"@": "toolsList1"}, 281 "toolsList": {"@": "toolsList1"},
@@ -279,7 +291,9 @@
279 "stylesController": {"@": "stylesController"}, 291 "stylesController": {"@": "stylesController"},
280 "filePickerController": {"@": "filePickerController"}, 292 "filePickerController": {"@": "filePickerController"},
281 "newFileController": {"@": "newFileController"}, 293 "newFileController": {"@": "newFileController"},
282 "documentBar": {"@": "documentBar"} 294 "coreIoApi": {"@": "coreIoApi1"},
295 "documentBar": {"@": "documentBar"},
296 "ioMediator": {"@": "ioMediator"}
283 } 297 }
284 } 298 }
285 299
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 90015f5a..3b9fc1c5 100644..100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -101,6 +101,9 @@ exports.Ninja = Montage.create(Component, {
101 didDraw: { 101 didDraw: {
102 value: function() { 102 value: function() {
103 if(!this._didDraw) { 103 if(!this._didDraw) {
104 if (!this.application.ninja.coreIoApi.ioServiceDetected) {
105 var check = this.application.ninja.coreIoApi.cloudAvailable();
106 }
104 NJevent("appLoaded"); 107 NJevent("appLoaded");
105 this._didDraw = true; 108 this._didDraw = true;
106 } 109 }