Skip to content

Commit

Permalink
reorganize additional-sheet-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Eileen Choe committed Feb 19, 2018
1 parent ade5b20 commit 7849884
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions server/controllers/additional-sheet-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ var fillArray = function (value, array, length) { // mutator
return array;
};

var parseAdditionalSheets = function (workbook) {
// var workbook = xlsx.parse(outputWorkbookPath);
// var data = parseAdditionalSheets(workbook);
// console.log(JSON.stringify(data));

module.exports = function (workbook) {

var output = {};
output["expression"] = {}; // expression data
Expand Down Expand Up @@ -91,9 +95,3 @@ var parseAdditionalSheets = function (workbook) {
}
return output;
};

// var workbook = xlsx.parse(outputWorkbookPath);
// var data = parseAdditionalSheets(workbook);
// console.log(JSON.stringify(data));

module.exports = parseAdditionalSheets;

0 comments on commit 7849884

Please sign in to comment.