Permalink
Browse files

Use latest upstream Handlebars.js from git.

This version (finally!) includes all the bug fixes that were in
Selleck's customized Handlebars build.
  • Loading branch information...
1 parent 574bcff commit 376cfaefd8e2455ecdcc36ed689699ee9fa0b6b8 @rgrove rgrove committed Jun 28, 2011
Showing with 276 additions and 135 deletions.
  1. +1 −1 lib/selleck.js
  2. +275 −134 support/handlebars/handlebars.js
View
@@ -407,7 +407,7 @@ function render(source, view, layout, partials, callback) {
template = Handlebars.compile(source);
}
- html = template(view, null, partials);
+ html = template(view, {partials: partials});
} catch (ex) {
return callback(ex);
}
Oops, something went wrong.

0 comments on commit 376cfae

Please sign in to comment.