aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/coreioapi.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-09 11:07:10 -0800
committerJose Antonio Marquez2012-02-09 11:07:10 -0800
commit9140a5bb6e7ecc24e6b4e540308042e10165e604 (patch)
treeae22e30a6530e10c62e4762879ad116002fb78d2 /js/io/system/coreioapi.js
parent04d375a02e44d1c11054ace16cd243ada8e6bd23 (diff)
downloadninja-9140a5bb6e7ecc24e6b4e540308042e10165e604.tar.gz
New File
Adding new file functionality, awaiting UI to implement correct file path for templates to hook into mediator.
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-xjs/io/system/coreioapi.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index bdba5240..d9505cd6 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -92,6 +92,9 @@ exports.CoreIoApi = Montage.create(Component, {
92 //TODO: Remove test 92 //TODO: Remove test
93 //this.ninjaLibrary.copyLibToCloud('Users/kgq387/Desktop/Ninja Cloud/Disk', 'montage0.6.0'); 93 //this.ninjaLibrary.copyLibToCloud('Users/kgq387/Desktop/Ninja Cloud/Disk', 'montage0.6.0');
94 //this.ninjaLibrary.deleteLibraries(); 94 //this.ninjaLibrary.deleteLibraries();
95 window.hack = function (name, type) {
96 this.application.ninja.ioMediator.fileNew('Users/kgq387/Desktop/Ninja Cloud/Disk/'+name+'.'+type, '/js/io/templates/files/'+type+'.txt', function (status) {console.log(status)});
97 }.bind(this);
95 } 98 }
96 }, 99 },
97 //////////////////////////////////////////////////////////////////// 100 ////////////////////////////////////////////////////////////////////