aboutsummaryrefslogtreecommitdiff
path: root/js/io/system
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-14 20:48:40 -0800
committerJose Antonio Marquez2012-02-14 20:48:40 -0800
commit68ce64a5a2f4a71b54d33916aaf1d57161302425 (patch)
treeb0fe3c0adb7434206fd79dfd6174994546a8d5c4 /js/io/system
parent93c8f327d662a7693d1d6ca050a0efd15ebc18ed (diff)
downloadninja-68ce64a5a2f4a71b54d33916aaf1d57161302425.tar.gz
Reverting text/html document classes and setting up MVC folder structure
Setting up the folder structure for the proposed set up for documents in Ninja. Reverted to have a temp HTML/Text document class. Tweak some UI for file pickers.
Diffstat (limited to 'js/io/system')
-rwxr-xr-xjs/io/system/coreioapi.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index 614b0850..6dcd795e 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -97,10 +97,12 @@ window.hack = function (name, type) {
97 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 this.application.ninja.ioMediator.fileNew('Users/kgq387/Desktop/Ninja Cloud/Disk/'+name+'.'+type, '/js/io/templates/files/'+type+'.txt', function (status) {console.log(status)});
98 }.bind(this); 98 }.bind(this);
99*/ 99*/
100 window.hack = function (path) { 100 /*
101window.hack = function (path) {
101 // 102 //
102 this.application.ninja.ioMediator.fileOpen('Users/kgq387/Desktop/Ninja Cloud/Disk/'+path, function (result) {console.log(result)}); 103 this.application.ninja.ioMediator.fileOpen('Users/kgq387/Desktop/Ninja Cloud/Disk/'+path, function (result) {console.log(result)});
103 }.bind(this); 104 }.bind(this);
105*/
104 } 106 }
105 }, 107 },
106 //////////////////////////////////////////////////////////////////// 108 ////////////////////////////////////////////////////////////////////