aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/coreioapi.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-07 17:03:44 -0800
committerJose Antonio Marquez2012-02-07 17:03:44 -0800
commitaf58afcffff5ac556d16f050a325ac0406897fcd (patch)
tree7f2051ae72c2263549cb947d353d36509c1cc39d /js/io/system/coreioapi.js
parentb91f9cf6fea870f75dad3e446fe8f47d9bf81b8f (diff)
downloadninja-af58afcffff5ac556d16f050a325ac0406897fcd.tar.gz
Copy local library to cloud
Adding functionality to copy a local library to the cloud. Currently creating directory structure. Need to add ability to copy files and ensure proper mime-type is set.
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-xjs/io/system/coreioapi.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index 005eabf2..7edb469b 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -83,10 +83,21 @@ exports.CoreIoApi = Montage.create(Component, {
83 handleSync: { 83 handleSync: {
84 enumerable: false, 84 enumerable: false,
85 value: function (e) { 85 value: function (e) {
86 //Removing events
87 console.log('Ninja Local Library: Ready'); 86 console.log('Ninja Local Library: Ready');
87 //Removing events
88 this.ninjaLibrary.removeEventListener('sync', this, false); 88 this.ninjaLibrary.removeEventListener('sync', this, false);
89 this.ninjaLibrary.coreApi = this;
89 //TODO: Add sync loading screen logic 90 //TODO: Add sync loading screen logic
91
92
93
94
95 //TODO: Remove test
96 this.ninjaLibrary.copyLibToCloud('Users/kgq387/Desktop/Ninja Cloud/Disk', 'montage0.6.0');
97
98
99
100
90 } 101 }
91 }, 102 },
92 //////////////////////////////////////////////////////////////////// 103 ////////////////////////////////////////////////////////////////////