tambourinecoder / gulp-jst-concat

Compile underscore / lodash view templates to a single JST file
MIT License
11 stars 11 forks source link

Keep lodash from using `with` statement #9

Closed gunderson closed 8 years ago

gunderson commented 8 years ago

the with statement breaks when concatenating the JST file into a bundle that contains other "use strict" scripts. This small change forces lodash templates to address vars instead of using with.