diff --git a/.gitignore b/.gitignore index 496ee2c..0c4ab86 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,16 @@ -.DS_Store \ No newline at end of file +# Vim +*~ +*.swp +*.swo +*.swn + +# OS +.DS_Store + +# Eclipse +.buildpath +.project +.settings + +# LibreOffice +.~lock* diff --git a/index.html b/index.html index af128d7..53abd0d 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@
I will convert your Excel data into one of several web-friendly formats, including HTML, JSON and XML.
-Fork me on github.
Decimal Sign: - - + +
| '; + outputText += indent+indent+indent+' | '; outputText += headerNames[j]; outputText += ' | '+newLine; }; @@ -108,7 +125,7 @@ var DataGridRenderer = { } outputText += indent+indent+"
|---|---|
| '; + outputText += indent+indent+indent+' | '; outputText += row[j] outputText += ' | '+newLine }; diff --git a/js/converter.js b/js/converter.js index e9c3820..3c5aa6f 100755 --- a/js/converter.js +++ b/js/converter.js @@ -31,7 +31,7 @@ function DataConverter(nodeId) { {"text":"XML - Properties", "id":"xmlProperties", "notes":""}, {"text":"XML - Nodes", "id":"xml", "notes":""}, {"text":"XML - Illustrator", "id":"xmlIllustrator", "notes":""}]; - this.outputDataType = "json"; + this.outputDataType = "html"; this.columnDelimiter = "\t"; this.rowDelimiter = "\n"; @@ -70,7 +70,7 @@ DataConverter.prototype.create = function(w,h) { var self = this; //build HTML for converter - this.inputHeader = $('