devongovett/pdfkit — pull request #102 by siefkenj (2012-10-26 05:30:54+00:00)
Title: Allow setting dash spacing to 0

Currently, calling dash(5,{space:0}) will result in dash(5,{space:5}) because default arguments are assigned using 'or' with the undesired consequence of 0 being impossible to set as space. This patch fixes dash to behave more as expected.