Added line note fixes to issue 62 logic in interface.js

This commit is contained in:
yoavgurevich 2014-05-14 12:19:44 -04:00
parent bdd4b5c9fe
commit 382e59afd3
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules node_modules
bower_components bower_components
*~ *~
/logicnotes.js

View File

@ -22,7 +22,7 @@ define(function(require) {
var STDIN = require('src/constants').STDIN; var STDIN = require('src/constants').STDIN;
var STDOUT = require('src/constants').STDOUT; var STDOUT = require('src/constants').STDOUT;
var STDERR = require('src/constants').STDERR; var STDERR = require('src/constants').STDERR;
var FD = require('src/constants').FIRST_DESCRIPTOR; var FIRST_DESCRIPTOR = require('src/constants').FIRST_DESCRIPTOR;
// The core fs operations live on impl // The core fs operations live on impl
var impl = require('src/filesystem/implementation'); var impl = require('src/filesystem/implementation');
@ -87,7 +87,7 @@ define(function(require) {
// Safely expose the list of open files and file // Safely expose the list of open files and file
// descriptor management functions // descriptor management functions
var openFiles = {}; var openFiles = {};
var nextDescriptor = 3; var nextDescriptor = FIRST_DESCRIPTOR;
Object.defineProperty(this, "openFiles", { Object.defineProperty(this, "openFiles", {
get: function() { return openFiles; } get: function() { return openFiles; }
}); });