aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 15:23:08 -0800
committerValerio Virgillito2012-02-16 15:23:08 -0800
commit63cdd5a614aacdebd9e3c9a6118bbe4a2c79145e (patch)
tree324649327481cd3a6d3aad0b136ac601f47448b4 /js
parent8e3697a61fd44ffa9bcf9555f7b43143606753e8 (diff)
parentb88cfa79ed80a7eb473f4959b10b7f1d565b80f4 (diff)
downloadninja-63cdd5a614aacdebd9e3c9a6118bbe4a2c79145e.tar.gz
Merge pull request #47 from joseeight/Cloud
Adding Cloud app download URLs
Diffstat (limited to 'js')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index e5bad98e..62f7e522 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -88,7 +88,13 @@ exports.CloudPopup = Montage.create(Component, {
88 downloadCloudApp: { 88 downloadCloudApp: {
89 enumerable: false, 89 enumerable: false,
90 value: function() { 90 value: function() {
91 console.log(this._os); 91 if(this._os === 'mac') {
92 location.href = '/ninja_localcloud_for_mac.zip';
93 } else if (this._os === 'win') {
94 location.href = '/ninja_localcloud_for_windows.zip';
95 } else {
96 alert('Your operating system is not supported by the Ninja Local Cloud App.');
97 }
92 } 98 }
93 }, 99 },
94 //////////////////////////////////////////////////////////////////// 100 ////////////////////////////////////////////////////////////////////