Skip to content

Commit

Permalink
version 0.3.16 support for Express 3
Browse files Browse the repository at this point in the history
  • Loading branch information
gradus committed Jun 30, 2012
1 parent a5ea2c1 commit f193bf8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
**v0.3.16**
- Add support for Express 3 (thanks @shimaore)

**v0.3.15**
- allow 0 to be rendered as value in render_attrs

Expand Down
2 changes: 1 addition & 1 deletion lib/coffeecup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/coffeecup.coffee
Expand Up @@ -18,7 +18,7 @@ else
compiler = require __dirname + '/compiler'
compiler.setup coffeecup

coffeecup.version = '0.3.15'
coffeecup.version = '0.3.16'

# Values available to the `doctype` function inside a template.
# Ex.: `doctype 'strict'`
Expand Down Expand Up @@ -404,7 +404,7 @@ unless window?
else
fs.readFile path, 'utf8', (err, str) ->
if err then return fn err
tpl = coffeecup.compile(str,options);
tpl = coffeecup.compile(str,options)
if options.cache then cache[path] = tpl
fn null, tpl(options)

Expand Down

0 comments on commit f193bf8

Please sign in to comment.