1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-10-05 23:15:12 +01:00
HackMyResume/src/sheet.js

22 lines
291 B
JavaScript
Raw Normal View History

(function() {
var FS = require('fs');
function Sheet() {
this.id = null;
this.title = "";
this.sheets = [];
this.rep = { };
}
Sheet.prototype.open = function( file ) {
this.rep = JSON.parse( FS.readFileSync( file, 'utf8' ) );
return this;
};
module.exports = Sheet;
}());