emblebars.js不被ember识别

时间:2013-12-25 19:31:19

标签: ember.js handlebars.js gruntjs

我尝试更新https://github.com/trek/ember-todos-with-build-tools-tests-and-other-modern-conveniences

使用某些脚本的最新版本。除Ember (1.2.0)之外的所有工作都会出错:

    Assertion failed: Ember Handlebars requires Handlebars version 1.0 or 1.1. Include a SCRIPT tag in the HTML HEAD linking to the Handlebars file before you link to Ember.

当我使用

激活没有依赖项的相同脚本时,错误消失
      <script src="../dependencies/handlebars.js"></script>

1 个答案:

答案 0 :(得分:0)

我认为问题应该标记为已回答。我使用了https://github.com/gcollazo/brunch-with-ember-reloaded