walmartlabs/thorax — pull request #73 by eastridge (2012-12-18 21:03:07+00:00)
Title: Private vars

Moves `cid` to a private variable, moves `_view` to a private variable named `view` and `yield` to a template helper.

No longer requires overrides of `each` and `with` handlebars helpers.

Adds a `_getData` method on a view to provide the private variables.

If templates are compiled with `{data: false}` (the default) an error will be thrown when a template is rendered that requires data (almost every helper).