kbjr/node-cards — pull request #2 by Jonahss (2013-02-06 04:12:17+00:00)
Title: Deck.draw() bugfix

The recursive nature of Deck.draw() is intriguing, but was dropping
the _into parameter. Now it no longer defaults to the Held pile every time
and I preserved the recursive structure.

This also meant that the Deck.drawToDiscard() function never even worked.

Had fun reading this file, just learning js.