Closed jacobq closed 9 years ago
+1
+1
+1
+1
+1 I found that updating dependency from 2.x to 3.x solves the problem
@AKhotoolev, yes, that's the interim solution (e.g. fork the project and point at the new repo manually in package.json) but that's effectively monkey patching and isn't desirable in the long-term / for production software.
+1
+1
+1
+1
+1
+1
+1
For those who +1'd, see https://github.com/gruntjs/grunt-contrib-handlebars/pull/134
You can either use the PR or resubmit the PR with fixed tests (or at least something that is up to date with master
)
@vladikoff Looks like you can close this now, as of https://github.com/gruntjs/grunt-contrib-handlebars/commit/9fa176ac6d23ed87746677016e7cac2974f10225.
Thanks, @joostory!
This plugin appears to be linked to Handlebars version ^2.0.0, but now version 3.0.0 has been released. When I tried to use this plugin with the latest Handlebars library I encountered an error when trying to render partials. It looks something like this:
Uncaught TypeError: Cannot assign to read only property 'partial' of name-of-my-partial
in theinvokePartial
function of Handlerbars 3.0.0: