Skip to content

Commit c656a1a

Browse files
committed
Pass the unit tests -- had to convert pattern.key to pattern.patternPartial
1 parent ced7a08 commit c656a1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/engine_handlebars.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ var engine_handlebars = {
4444
return compiled(data);
4545
},
4646

47-
registerPartial: function (oPattern) {
48-
Handlebars.registerPartial(oPattern.key, oPattern.template);
47+
registerPartial: function (pattern) {
48+
Handlebars.registerPartial(pattern.patternPartial, pattern.template);
4949
},
5050

5151
// find and return any {{> template-name }} within pattern

0 commit comments

Comments
 (0)