Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chrome插件的CSP中禁用了类似new Function之类的用法,希望提供npm的命令行预编译功能 #17

Closed
siemenliu opened this issue Oct 16, 2012 · 2 comments

Comments

@siemenliu
Copy link

chrome插件的CSP中禁用了类似new Function之类的用法,如果能提供npm的命令行预编译功能就很爽了

类似handlebars

@PaulGuo
Copy link
Owner

PaulGuo commented Oct 16, 2012

ok, no problem. 👍

PaulGuo added a commit that referenced this issue Oct 17, 2012
… command line support under node.js to precompile template files (issue #17).
@PaulGuo
Copy link
Owner

PaulGuo commented Oct 17, 2012

Solved, at v0.6.3.

npm install -g juicer
juicer example.juicer.tmpl -f example.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants