MathiasPaumgarten/cane — pull request #29 by conradz (2013-06-17 13:59:08+00:00)
Title: Add dom/create

Fixes #18.

The arguments (optional attributes object followed by variadic content arguments) are kind of confusing at first, but I think it is the simplest that can be done. This helper function greatly reduces boilerplate code (`setAttribute`, `append`, etc.) when creating DOM nodes.