olado/doT — pull request #61 by nick-jonas (2013-01-12 17:32:37+00:00)
Title: Template Dependencies

Allows users to get dependencies from given templates. NOTE: this does
not yet work for 'evaluate' templates, as this would involve running
the code through a full JS parser to extract dependencies

Example:

Given template string `

Hi {{=it.name}}!

{{=it.age || ''}}

` and varname `it`, it will return `['name', 'age']`