diff options
author | Jose Antonio Marquez | 2012-04-19 15:53:18 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-04-19 15:53:18 -0700 |
commit | 36d50b6599ab98559c76e1fe57b1bb131c4433da (patch) | |
tree | 4b4043851fe63a8807715c17c09f0ebf05d72309 /js/io/system | |
parent | eca4a100b99c21137aa4e6954fcc963dd3b06ed6 (diff) | |
download | ninja-36d50b6599ab98559c76e1fe57b1bb131c4433da.tar.gz |
Clean up
Diffstat (limited to 'js/io/system')
-rwxr-xr-x | js/io/system/fileio.js | 4 | ||||
-rw-r--r-- | js/io/system/ninjalibrary.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js index f78ad173..1680ca7f 100755 --- a/js/io/system/fileio.js +++ b/js/io/system/fileio.js | |||
@@ -146,7 +146,7 @@ exports.FileIo = Montage.create(Component, { | |||
146 | } | 146 | } |
147 | }, | 147 | }, |
148 | //////////////////////////////////////////////////////////////////// | 148 | //////////////////////////////////////////////////////////////////// |
149 | // | 149 | //TODO: Add functionality |
150 | deleteFile: { | 150 | deleteFile: { |
151 | enumerable: true, | 151 | enumerable: true, |
152 | value: function() { | 152 | value: function() { |
@@ -159,7 +159,7 @@ exports.FileIo = Montage.create(Component, { | |||
159 | } | 159 | } |
160 | }, | 160 | }, |
161 | //////////////////////////////////////////////////////////////////// | 161 | //////////////////////////////////////////////////////////////////// |
162 | // | 162 | //TODO: Add functionality |
163 | copyFile: { | 163 | copyFile: { |
164 | enumerable: true, | 164 | enumerable: true, |
165 | value: function() { | 165 | value: function() { |
diff --git a/js/io/system/ninjalibrary.js b/js/io/system/ninjalibrary.js index 201598fc..78bdbe53 100644 --- a/js/io/system/ninjalibrary.js +++ b/js/io/system/ninjalibrary.js | |||
@@ -213,7 +213,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { | |||
213 | xhr.responseType = "arraybuffer"; | 213 | xhr.responseType = "arraybuffer"; |
214 | xhr.send(); | 214 | xhr.send(); |
215 | //Checking for status | 215 | //Checking for status |
216 | if (xhr.readyState === 4) { //TODO: add check for mime type | 216 | if (xhr.readyState === 4) { |
217 | //Creating new file from loaded content | 217 | //Creating new file from loaded content |
218 | this.chromeApi.fileNew('/'+tocopylibs[i].name+'/'+tocopylibs[i].file, xhr.response, function (status) {if(status) this.libraryCopied()}.bind(this)); | 218 | this.chromeApi.fileNew('/'+tocopylibs[i].name+'/'+tocopylibs[i].file, xhr.response, function (status) {if(status) this.libraryCopied()}.bind(this)); |
219 | } else { | 219 | } else { |