Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix intermittent bad handlebars context

  • Loading branch information...
commit 234827ba4496e7b8d7805c49d2bd478a807e015f 1 parent b1ac0a7
@dgreensp dgreensp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  packages/templating/deftemplate.js
View
2  packages/templating/deftemplate.js
@@ -8,7 +8,7 @@
var orig = Handlebars._default_helpers.each;
Handlebars._default_helpers.each = function (arg, options) {
if (!(arg instanceof LocalCollection.Cursor))
- return orig(arg, options);
+ return orig.call(this, arg, options);
return Meteor.ui.listChunk(arg, options.fn, options.inverse, null);
};
Please sign in to comment.
Something went wrong with that request. Please try again.