Google Chrome extensions using manifest_version: 2
are restricted from using eval
or new Function
. All of the JavaScript templating librar
It turns out that mustachejs added new Function
recently and using tag 0.4.2 doesn't have it. It the API is slightly different with Mustache.to_html
instead of Mustache.render
and there are likely some performance reduction.
I opened an issue to potentially get new Function
removed in a future release.