developmentseed / developmentseed/bones

Figure out template partials with Underscore 1.2.x

Open
#35 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
481
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Our current system of using the `this` scope for handling template partials seems to be bust with underscore 1.2.2+ changes where `this` in the context of a template is no longer the templates object. We need a new approach or a way to repair the scope of our template functions back to the templates object.

If we do make a breaking change for this it should belong in 2.x with 1.x staying on underscore 1.x.

/cc @kkaefer @tmcw @willwhite

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.