spreadsheet
typeScript/javascript spreadsheet parser, with formulas.
git clone https://git.vogt.world/spreadsheet.git
Log | Files | README.md
← Commit log
commit
message
Refactoring unused functions in Sheet.ts
author
Ben Vogt <[email protected]>
date
2016-12-29 16:10:45
stats
1 file(s) changed, 0 insertions(+), 15 deletions(-)
files
ts/Sheet.ts
 1diff --git a/ts/Sheet.ts b/ts/Sheet.ts
 2index e0622fc..54e8943 100644
 3--- a/ts/Sheet.ts
 4+++ b/ts/Sheet.ts
 5@@ -196,16 +196,6 @@ var Sheet = (function () {
 6       return !instance.utils.isUndefined(value) && !instance.utils.isNull(value);
 7     },
 8 
 9-    getCellAlphaNum: function (cell) {
10-      var num = cell.match(/\d+$/),
11-        alpha = cell.replace(num, '');
12-
13-      return {
14-        alpha: alpha,
15-        num: parseInt(num[0], 10)
16-      }
17-    },
18-
19     toNum: function (chr) {
20       chr = instance.utils.clearFormula(chr);
21       var base = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', i, j, result = 0;
22@@ -254,10 +244,6 @@ var Sheet = (function () {
23       return formula.replace(/\$/g, '');
24     },
25 
26-    translateCellCoords: function (coords) {
27-      return instance.utils.toChar(coords.col) + '' + parseInt(coords.row + 1, 10);
28-    },
29-
30     iterateCells: function (startCell, endCell, callback) {
31       var result = {
32         index: [], // list of cell index: A1, A2, A3