From 59425875093beedfc124c136a373dceac45ec4d7 Mon Sep 17 00:00:00 2001 From: Mo de Ruiter Date: Tue, 7 Oct 2014 17:12:04 +0200 Subject: [PATCH] Remove global variable "cellen" --- bits/67_wsxml.js | 2 +- xlsx.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bits/67_wsxml.js b/bits/67_wsxml.js index d6faaa4..9164a20 100644 --- a/bits/67_wsxml.js +++ b/bits/67_wsxml.js @@ -172,7 +172,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess) { /* 18.3.1.4 c CT_Cell */ cells = x.substr(ri).split(cellregex); - for(ri = 1, cellen = cells.length; ri != cellen; ++ri) { + for(ri = 1; ri != cells.length; ++ri) { x = cells[ri].trim(); if(x.length === 0) continue; cref = x.match(rregex); idx = ri; i=0; cc=0; diff --git a/xlsx.js b/xlsx.js index d100a15..c7dc161 100644 --- a/xlsx.js +++ b/xlsx.js @@ -2958,7 +2958,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess) { /* 18.3.1.4 c CT_Cell */ cells = x.substr(ri).split(cellregex); - for(ri = 1, cellen = cells.length; ri != cellen; ++ri) { + for(ri = 1; ri != cells.length; ++ri) { x = cells[ri].trim(); if(x.length === 0) continue; cref = x.match(rregex); idx = ri; i=0; cc=0;