aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-16 16:03:55 -0800
committerJose Antonio Marquez2012-02-16 16:03:55 -0800
commitb1d169d2dc941c7d2f51f0c557b7bf6488457742 (patch)
treebad9b38e54ffe10de514d26539fafd7ce005d1fb /js
parent6bc07657c8ef58e6efddd383748ecf84d1c789ad (diff)
parentbe0318ed92d1fbc853568648f773322401d9c029 (diff)
downloadninja-b1d169d2dc941c7d2f51f0c557b7bf6488457742.tar.gz
Merge branch 'refs/heads/NinjaInternal' into FileIO
Diffstat (limited to 'js')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js2
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index 62f7e522..a2283d46 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -90,7 +90,7 @@ exports.CloudPopup = Montage.create(Component, {
90 value: function() { 90 value: function() {
91 if(this._os === 'mac') { 91 if(this._os === 'mac') {
92 location.href = '/ninja_localcloud_for_mac.zip'; 92 location.href = '/ninja_localcloud_for_mac.zip';
93 } else if (this._os === 'win') { 93 } else if (this._os === 'windows') {
94 location.href = '/ninja_localcloud_for_windows.zip'; 94 location.href = '/ninja_localcloud_for_windows.zip';
95 } else { 95 } else {
96 alert('Your operating system is not supported by the Ninja Local Cloud App.'); 96 alert('Your operating system is not supported by the Ninja Local Cloud App.');
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index cd19f361..46d74e13 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -198,14 +198,14 @@ exports.StageView = Montage.create(Component, {
198 }, 198 },
199 showRulers:{ 199 showRulers:{
200 value:function(){ 200 value:function(){
201 this.application.ninja.rulerTop.style.display = "block"; 201 this.application.ninja.rulerTop.style.background = "url('../images/temp/ruler-top.png')";
202 this.application.ninja.rulerLeft.style.display = "block"; 202 this.application.ninja.rulerLeft.style.background = "url('../images/temp/ruler-left.png')";
203 } 203 }
204 }, 204 },
205 hideRulers:{ 205 hideRulers:{
206 value:function(){ 206 value:function(){
207 this.application.ninja.rulerTop.style.display = "none"; 207 this.application.ninja.rulerTop.style.background = "rgb(128,128,128)";
208 this.application.ninja.rulerLeft.style.display = "none"; 208 this.application.ninja.rulerLeft.style.background = "rgb(128,128,128)";
209 } 209 }
210 }, 210 },
211 211