diff --git a/src/fs.js b/src/fs.js index 7536dac..5d0e905 100644 --- a/src/fs.js +++ b/src/fs.js @@ -744,8 +744,8 @@ define(function(require) { function unlink_node(objectStore, path, callback) { path = normalize(path); - name = basename(path); - parentPath = dirname(path); + var name = basename(path); + var parentPath = dirname(path); var directoryNode; var directoryData;