diff options
author | Eric Guzman | 2012-02-16 00:22:43 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-16 00:22:43 -0800 |
commit | 82b1a273219f0ae3d119e156c7acccdbe478f441 (patch) | |
tree | 74c45e5e3afc6706b2f7a7918807f72c54cdcfc5 /js/ninja.reel/ninja.js | |
parent | af20ca9b11133dd5cefb9275dbe8fb101c3380d0 (diff) | |
parent | 966f0adaf1d4b7f2dd5a6e31643df58bff713884 (diff) | |
download | ninja-82b1a273219f0ae3d119e156c7acccdbe478f441.tar.gz |
Merge branch 'refs/heads/TreeComponents' into PresetsPanel
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x[-rw-r--r--] | js/ninja.reel/ninja.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 469d38f7..43087c39 100644..100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -102,6 +102,9 @@ exports.Ninja = Montage.create(Component, { | |||
102 | didDraw: { | 102 | didDraw: { |
103 | value: function() { | 103 | value: function() { |
104 | if(!this._didDraw) { | 104 | if(!this._didDraw) { |
105 | if (!this.application.ninja.coreIoApi.ioServiceDetected) { | ||
106 | var check = this.application.ninja.coreIoApi.cloudAvailable(); | ||
107 | } | ||
105 | NJevent("appLoaded"); | 108 | NJevent("appLoaded"); |
106 | this._didDraw = true; | 109 | this._didDraw = true; |
107 | } | 110 | } |
@@ -186,7 +189,7 @@ exports.Ninja = Montage.create(Component, { | |||
186 | transitionStopRule = "*" | 189 | transitionStopRule = "*" |
187 | } | 190 | } |
188 | 191 | ||
189 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "background", background); | 192 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "body-background", background); |
190 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow); | 193 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow); |
191 | this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule); | 194 | this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule); |
192 | 195 | ||