aboutsummaryrefslogtreecommitdiff
path: root/js/io/system
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-13 16:57:52 -0800
committerJose Antonio Marquez2012-02-13 16:57:52 -0800
commit79f7727ed077d054d791337d822c8e2259925084 (patch)
treef409fe261193dca124273b6ab1f6e9c06d3b3fe3 /js/io/system
parent5b55cfe0bc333a9a18be6329fdc21b5a6652a15a (diff)
parentf3dc624fa464a79fd8e8cec1ddd16ed2109bda23 (diff)
downloadninja-79f7727ed077d054d791337d822c8e2259925084.tar.gz
Merge branch 'refs/heads/AnanyaFileIO' into FileIO
Diffstat (limited to 'js/io/system')
-rw-r--r--js/io/system/chromeapi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js
index eee7409d..e53d4841 100644
--- a/js/io/system/chromeapi.js
+++ b/js/io/system/chromeapi.js
@@ -180,7 +180,7 @@ exports.ChromeApi = Montage.create(Object.prototype, {
180 //Checking for directory not to already exist 180 //Checking for directory not to already exist
181 this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) { 181 this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) {
182 if (callback) callback(false); 182 if (callback) callback(false);
183 return; //Directory already exists 183 return false; //Directory already exists
184 }); 184 });
185 //Creating new directory 185 //Creating new directory
186 this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) { 186 this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) {