Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (36 sloc) 2.52 KB

v0.3.0beta (2011-07-xx):

  • Added an express adapter that allows partial 'foo' instead of text @partial 'foo' (see /examples/express).

  • Added id/class shortcuts (div '#id.class.class2', 'contents').

  • Solved express integration issues and eliminated the need for a meryl adapter.

  • ck.render tpl, foo: 'bar' now accessible as h1 @foo.

  • ck.render tpl, locals: {foo: 'bar'} now implemented by default through
    the with keyword (past behavior with dynamic_locals: true).

  • ck.render tpl, hardcode: {foo: 'bar'} will hardcode these locals.

  • Optional third param to ck.render.

  • Gone with ck_* locals, now all implementation inside __ck.

  • coffeescript src: '' and coffeescript 'string'.

  • coffeescript -> code() now correctly adds coffeescript helpers to the output.

  • Correctly handle numbers and booleans when used as tag contents.

  • Doctypes now editable at coffeekup.doctypes. Using doctypes['default'] instead of doctypes['5'] by default. Added the ce doctype.

  • List of tags now editable at coffeekup.tags, and self-closing tags at coffeekup.self_closing.

  • Added IE conditional comments: ie 'lt IE8', -> 'IE 7 or less specific stuff' (thanks @aeosynth).

  • Using '.call(this);' instead of '();' in js generated by the 'coffeescript' tag.

  • In coffeekup.render, option cache is now false by default.

v0.2.3 (2011-05-06):

  • Compatible with npm 1.x.
  • Converting any ampersands (instead of /&(?!\w+;/) to & when escaping html.
  • New CLI option -o / --output DIR.
  • Self-closing tags are now: 'area', 'base', 'basefont', 'br', 'col', 'frame', 'hr', 'img', 'input', 'link', 'meta' and 'param'.

v0.2.2 (2011-01-05):

  • Updated to CoffeeScript 1.0.0 and node 0.2.6/0.3.3.

v0.2.1 (2010-11-23):

  • Updated to CoffeeScript 0.9.5 and node 0.2.5/0.3.1.
  • Fixed string templates compilation in opera.

v0.2.0 (2010-11-09):

  • Huge performance gains, now among the fastest. See cake benchmark.
  • Compile templates into standalone functions with coffeekup.compile.
  • Option format to add line breaks and indentation to output.
  • Escape HTML automatically with the autoescape option, or manually with the h local.
  • CLI behaviour closer to CoffeeScript's: compiles to filename.html by default, can watch and recompile with -w.
  • CLI -u/--utils option to make build-time utility locals available to templates (currently only render).
Jump to Line
Something went wrong with that request. Please try again.