nette/nette — pull request #1358 by Werkov (2014-01-17 04:25:04+00:00)
Title: Latte: fixed adding dynamic snippets to payload

When static snippet wrapper (or snippetArea) contained a dynamic
snippet wrapped in a block (i.e. static snippet -> block -> dynamic
snippet), rendered dynamic snippets weren't added into payload.

Cause was that information was shared via scope which was different for
nested block (block is a function call) and snippet wrapper.

Fix was done via shared reference to a stdClass object.