0.3.0 • Published 10 years ago
space-pencil v0.3.0
Space Pencil
The only feature this library currently has is an element builder with the same DSL as SpacePen, but it returns a raw DOM element rather than a jQuery fragment.
It's exported as $$
:
{$$} = require 'space-pencil'
element = $$ ->
@div class: "greeting", ->
@h1 ->
@text "Hello"
@span "World"