Files
handlebars.js/spec
Lon Ingram ef9e0dc2ab Walk up data frames for nested @partial-block
The root cause of #1218 is that `invokePartial` creates a stack of data frames
for nested partial blocks, but `resolvePartial` always uses the value at top of
the stack without "popping" it. The result is an infinite recursive loop, as
references to `@partial-block` in the partial at the top of the stack resolve to
itself.

So, walk up the stack of data frames when evaluating. This is accomplished by
1) setting the `partial-block` property to `noop` after use and
2) using `_parent['partial-block']` if `partial-block` is `noop`

Fix #1218
2016-11-11 12:01:16 -06:00
..
2014-11-08 14:35:23 -06:00
2015-11-19 22:53:31 -06:00
2015-09-01 01:43:00 -05:00
2015-08-03 23:43:00 -05:00
2015-08-18 23:57:27 -07:00
2015-09-01 17:56:32 -05:00
2015-08-22 10:59:34 -07:00
2015-09-01 17:56:32 -05:00
2015-04-16 16:43:01 -05:00
2015-09-23 21:59:58 -05:00
2015-09-01 17:56:32 -05:00
2015-09-01 17:56:32 -05:00
2015-04-16 16:43:01 -05:00
2015-08-22 11:13:08 -07:00
2015-04-16 16:43:01 -05:00
2015-09-01 17:56:32 -05:00
2015-04-16 16:43:01 -05:00
2015-04-16 16:43:01 -05:00
2015-08-03 12:16:02 -05:00
2015-09-01 01:44:35 -05:00
2015-08-22 10:59:34 -07:00
2015-04-16 16:43:01 -05:00