Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules
lib
tmp
npm-debug.log
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"scripts": {
"benchmark": "grunt benchmark",
"test": "grunt test",
"prepublish": "grunt build"
"prepublish": "grunt build",
"preinstall": "grunt build"
},
"devDependencies": {
"coffee-script": "~1.6.3",
Expand Down
2 changes: 1 addition & 1 deletion src/index.litcoffee
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Add a single row.

@_startRow()
for key, col in @cellMap
@_addCell(row[key] || "", col + 1)
@_addCell((if row[key] == 0 then 0 else row[key] || ""), col + 1)
@_endRow()

##### addRows(rows: Array)
Expand Down