diff options
author | Jose Antonio Marquez | 2012-02-13 16:57:52 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-13 16:57:52 -0800 |
commit | 79f7727ed077d054d791337d822c8e2259925084 (patch) | |
tree | f409fe261193dca124273b6ab1f6e9c06d3b3fe3 /js/io/system/chromeapi.js | |
parent | 5b55cfe0bc333a9a18be6329fdc21b5a6652a15a (diff) | |
parent | f3dc624fa464a79fd8e8cec1ddd16ed2109bda23 (diff) | |
download | ninja-79f7727ed077d054d791337d822c8e2259925084.tar.gz |
Merge branch 'refs/heads/AnanyaFileIO' into FileIO
Diffstat (limited to 'js/io/system/chromeapi.js')
-rw-r--r-- | js/io/system/chromeapi.js | 2 |
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) { |