更新handlebarJS预编译器
我正在使用句柄预编译器来编译使用该命令的句柄模板
handlebars *.tpl -f *.js
我正在使用handlebar.runtime-v1.1.2.js使用预编译的车把模板。
用以下代码执行编译后的模板
Handlebars.template('****');
我得到一个错误
Uncaught Error: Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0) or downgrade your runtime to an older version (<= 1.0.rc.2).
任何人都可以指导我更新手柄预编译器到最新的Linux机器上。