gruntjs/grunt-contrib-jst — pull request #19 by colinhicks (2013-02-15 17:57:30+00:00)
Title: Fix tests failing since lodash version bump

Hey folks,

Looks like lodash's v1.0.0 tag was updated yesterday (see https://github.com/bestiejs/lodash/commit/464c844189652475fba41b4fc20c7da5dd9843f9). Some changes to `_.template` mean all grunt-contrib-jst tests will fail after a fresh `npm install`.

In particular, see [this issue and the relevant commit](https://github.com/bestiejs/lodash/issues/166).

This pull req:
1. Tweaks expected test output pursuant to those changes
2. Scopes template variables in the existing test fixtures with `obj.` e.g. changes `<%= title %>` to `<%= obj.title %>`
3. And adds `variable: 'obj'` to `templateSettings` for the existing configs in the jst multitask
4. Adds a new test case to explicitly test scoped template variables, like `<%= title %>`

The intention with 2-4 is to suggest explicitly scoping template variables, since the lodash changes mean they are otherwise wrapped in a `with` block, which has performance implications. Happy to back them out if you prefer.