From cd2b20f7e579d2247318db51631404c202d3bd72 Mon Sep 17 00:00:00 2001 From: Pieter Sheth-Voss Date: Sun, 1 Mar 2015 23:27:00 -0500 Subject: [PATCH] Remove stray logs --- bits/92_stylebuilder.js | 32 +------------------------------- xlsx.js | 34 +--------------------------------- 2 files changed, 2 insertions(+), 64 deletions(-) diff --git a/bits/92_stylebuilder.js b/bits/92_stylebuilder.js index 7a96132..43a0906 100644 --- a/bits/92_stylebuilder.js +++ b/bits/92_stylebuilder.js @@ -45,37 +45,10 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo } - - - // cache style specs to avoid excessive duplication _hashIndex = {}; _listIndex = []; - -// console.log(this.$styles.toXml()); -// process.exit() -// var baseXmlprefix = ''; -// var baseXml = -// '\ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// '; - return { initialize: function (options) { @@ -156,7 +129,6 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo else { index = _hashIndex[hashKey]; } - console.log(index, hashKey.substr(0,20)) return index; }, @@ -360,9 +332,7 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo }, toXml: function () { - var xml =this.$styles.toXml(); - console.log(xml); - return xml; + return this.$styles.toXml(); } }.initialize(options||{}); } diff --git a/xlsx.js b/xlsx.js index 8462dce..8680725 100644 --- a/xlsx.js +++ b/xlsx.js @@ -5466,8 +5466,6 @@ var XmlNode = (function () { return this; } - - XmlNode.prototype.toXml = function (node) { if (!node) node = this; var xml = node._prefix; @@ -5538,37 +5536,10 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo } - - - // cache style specs to avoid excessive duplication _hashIndex = {}; _listIndex = []; - -// console.log(this.$styles.toXml()); -// process.exit() -// var baseXmlprefix = ''; -// var baseXml = -// '\ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// \ -// '; - return { initialize: function (options) { @@ -5649,7 +5620,6 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo else { index = _hashIndex[hashKey]; } - console.log(index, hashKey.substr(0,20)) return index; }, @@ -5853,9 +5823,7 @@ if ((typeof 'module' != 'undefined' && typeof require != 'undefined') || (typeo }, toXml: function () { - var xml =this.$styles.toXml(); - console.log(xml); - return xml; + return this.$styles.toXml(); } }.initialize(options||{}); }