0.3.0 released

3 views
Skip to first unread message

Maurice Machado

unread,
Sep 4, 2011, 7:31:03 PM9/4/11
to CoffeeKup
Hi everyone,

CoffeeKup 0.3.0 is on npm with the following changes from the beta:

- Fixed #64 (`hardcode` option masked in express adapter). [smathy]
- Added missing elements from the HTML 5 spec (both valid and
obsolete). Closes #66 (thanks @aeosynth).
- Added compile to js option to CLI. Closes #58. [rachel-carvalho]
- Fixed #69 (`coffeekup -w` only compiles upon first change).
[rachel-carvalho]

The "compile to js" option is the CLI interface to
`CoffeeKup.compile`. It goes like this:

$ coffeekup --js foo.coffee

<script src="foo.js"></script>
<script>
$(body).append(templates.foo(data));
</script>

You can also specify the name of the global holding the templates
with:

$ coffeekup -n ck_templates --js index.coffee

Best,

Maurice
Reply all
Reply to author
Forward
0 new messages