aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/ninjalibrary.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/system/ninjalibrary.js')
-rw-r--r--js/io/system/ninjalibrary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/ninjalibrary.js b/js/io/system/ninjalibrary.js
index f4915a91..3de5fb69 100644
--- a/js/io/system/ninjalibrary.js
+++ b/js/io/system/ninjalibrary.js
@@ -209,7 +209,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, {
209 xhr.responseType = "arraybuffer"; 209 xhr.responseType = "arraybuffer";
210 xhr.send(); 210 xhr.send();
211 //Checking for status 211 //Checking for status
212 if (xhr.readyState === 4) { //TODO: add check for mime type 212 if (xhr.readyState === 4) {
213 //Creating new file from loaded content 213 //Creating new file from loaded content
214 this.chromeApi.fileNew('/'+tocopylibs[i].name+'/'+tocopylibs[i].file, xhr.response, function (status) {if(status) this.libraryCopied()}.bind(this)); 214 this.chromeApi.fileNew('/'+tocopylibs[i].name+'/'+tocopylibs[i].file, xhr.response, function (status) {if(status) this.libraryCopied()}.bind(this));
215 } else { 215 } else {