juttle / juttle-viz

Juttle Visualization Library
Apache License 2.0
11 stars 4 forks source link

string-bundle: use string-template module instead of _.template #67

Closed go-oleg closed 8 years ago

go-oleg commented 8 years ago

While working on https://github.com/juttle/atom-juttle-viewer/pull/1, ran into the problem that atom doesn't allow usage of _.template (see discussion). We use _.template to generate runtime messages and parameter validation error messages.

We don't need everything that _.template offers, just basic string templating, so switch to https://www.npmjs.com/package/string-template.

Changes necessary to make this work

@mnibecker

mattnibs commented 8 years ago

+1