MrRio/jsPDF — pull request #112 by WarrenWeckesser (2013-06-24 04:09:40+00:00)
Title: Add the 'closed' argument to the lines method.

* When 'closed' is true, an 'h' operator is included in the PDF code generated
by the lines method, so the subpath is closed.
* The option is used in the triangle method, so it generates a closed triangle,
with all the corners rendered with the same join style.
* @param descriptions for 'style' and 'closed' were added to the documentation
of the lines method.