Skip to content
Browse files

version 0.3.16 support for Express 3

  • Loading branch information...
1 parent a5ea2c1 commit f193bf8283ba845cde2909c4b5b3deaae97a684d @gradus committed Jun 30, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 CHANGELOG.md
  2. +1 −1 lib/coffeecup.js
  3. +2 −2 src/coffeecup.coffee
View
3 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
View
2 lib/coffeecup.js
@@ -15,7 +15,7 @@ if (typeof window !== "undefined" && window !== null) {
compiler.setup(coffeecup);
}
-coffeecup.version = '0.3.15';
+coffeecup.version = '0.3.16';
coffeecup.doctypes = {
'default': '<!DOCTYPE html>',
View
4 src/coffeecup.coffee
@@ -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'`
@@ -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)

0 comments on commit f193bf8

Please sign in to comment.
Something went wrong with that request. Please try again.