Comparing version 1.1.1 to 1.1.2
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"author": "Alan K <ack@modeswitch.org> (http://blog.modeswitch.org)", | ||
@@ -16,0 +16,0 @@ "homepage": "http://filerjs.github.io/filer", |
@@ -920,2 +920,9 @@ var Path = require('../path.js'); | ||
function create_node(error, data) { | ||
if(error) { | ||
return callback(error); | ||
} | ||
Node.create(data, callback); | ||
} | ||
function check_if_file_exists(error, result) { | ||
@@ -929,3 +936,3 @@ if(error) { | ||
} else { | ||
context.getObject(directoryData[name].id, callback); | ||
context.getObject(directoryData[name].id, create_node); | ||
} | ||
@@ -932,0 +939,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1295950
12298