From 9813886d383d6ae990f88827c4504980e62ad470 Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Fri, 15 Nov 2013 14:50:19 -0500 Subject: [PATCH] s/this/that/ in a few spots in fs.js, add myself to AUTHORS --- AUTHORS | 3 ++- src/fs.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index f97fa1a..9eea44b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,2 @@ -Alan K (blog.modeswitch.org) \ No newline at end of file +Alan K (blog.modeswitch.org) +David Humphrey (@humphd) diff --git a/src/fs.js b/src/fs.js index 8789881..713517a 100644 --- a/src/fs.js +++ b/src/fs.js @@ -897,7 +897,7 @@ define(function(require) { deferred.reject(new EInvalid('flags is not valid')); } - open_file(this, files, path, flags, check_result); + open_file(that, files, path, flags, check_result); deferred.promise.then( function(result) { callback(undefined, result); @@ -1201,7 +1201,7 @@ define(function(require) { deferred.reject(new EInvalid('flags is not valid')); } - open_file(this, files, path, flags, function(err, fileNode) { + open_file(that, files, path, flags, function(err, fileNode) { if(err) { // TODO: abort transaction? return deferred.reject(err); @@ -1323,7 +1323,7 @@ define(function(require) { data = new TextEncoder('utf-8').encode(data); } - open_file(this, files, path, flags, function(err, fileNode) { + open_file(that, files, path, flags, function(err, fileNode) { if(err) { // TODO: abort transaction? return deferred.reject(err);