From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:53:10 -0700 Subject: Remove trailing spaces --- js/io/system/ninjalibrary.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'js/io/system/ninjalibrary.js') diff --git a/js/io/system/ninjalibrary.js b/js/io/system/ninjalibrary.js index 902506e2..be59fd07 100644 --- a/js/io/system/ninjalibrary.js +++ b/js/io/system/ninjalibrary.js @@ -140,7 +140,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { } else if (contents[i].isFile){ // tracking.total++; - //Copying file + //Copying file this.chromeApi.fileContent(contents[i].fullPath, function (result) { //Using binary when copying files to allow images and such to work var file = this.coreApi.createFile({uri: (fileRoot+result.file.fullPath).replace(/\/\//gi, '/'), contents: result.content}); @@ -197,7 +197,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { } } } - + } else { //No library is present, must copy all for (var j in libs.libraries) { @@ -223,7 +223,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { //Getting file contents xhr = new XMLHttpRequest(); xhr.open("GET", tocopylibs[i].path, false); - xhr.responseType = "arraybuffer"; + xhr.responseType = "arraybuffer"; xhr.send(); //Checking for status if (xhr.readyState === 4) { @@ -265,7 +265,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { for (i=0; this.files[i]; i++) { xhr = new XMLHttpRequest(); xhr.open("GET", this.root+this.files[i], false); - xhr.responseType = "arraybuffer"; + xhr.responseType = "arraybuffer"; xhr.send(); //Checking for status if (xhr.readyState === 4) { @@ -277,7 +277,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { this.main.libraryCopied(); } }.bind(this)); - } + } } } }.bind(libjson)); @@ -362,7 +362,7 @@ exports.NinjaLibrary = Montage.create(Object.prototype, { } } //////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////// }); //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3