s/this/that/ in a few spots in fs.js, add myself to AUTHORS

This commit is contained in:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2013-11-15 14:50:19 -05:00
parent a02f525a7c
commit 9813886d38
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1,2 @@
Alan K <ack@modeswitch.org> (blog.modeswitch.org)
David Humphrey <david.humphrey@senecacollege.ca> (@humphd)

View File

@ -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);