killercup / grock

Grock converts your nicely commented code into a gorgeous documentation where comments and code live happily next to each other.
http://killercup.github.io/grock/
MIT License
38 stars 13 forks source link

Fix `whitspace-after-token` option being ignored #19

Closed despairblue closed 10 years ago

despairblue commented 10 years ago

If projectConfig['whitespace-after-token'] is intentionally set to false then projectConfig['whitespace-after-token'] || true will evaluate to true. Correct behavior would be to only use the default if projectConfig['whitespace-after-token'] is unset/undefined.

killercup commented 10 years ago

Looks good. I'll merge this and create a new release tomorrow.

killercup commented 10 years ago

Thanks for the PR!

Published as 0.3.4.