Ember 1.10.0 throws "Uncaught Error: Bound attributes are not yet supported in Ember.js"

Ember 1.10.0 throws "Uncaught Error: Bound attributes are not yet supported in Ember.js"

我刚刚更改了这个:

  <div {{bind-attr class=":step category.isCurrent:active category.isBeforeCurrent:visited"}}>

对此:

<div class="step {{category.isCurrent:active}} {{category.isBeforeCurrent:visited}}">

现在得到:

Uncaught Error: Bound attributes are not yet supported in Ember.js

这是我正在使用的bower.json:

{
  "name": "proj",
  "dependencies": {
    "jquery": "^1.11.1",
    "ember": "1.10.0",
    "ember-data": "^1.0.0-beta.14.1",
    "ember-resolver": "~0.1.11",
    "loader.js": "ember-cli/loader.js#1.0.1",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.0.2",
    "ember-qunit": "0.1.8",
    "ember-qunit-notifications": "0.0.4",
    "qunit": "~1.15.0"
  }
}

还有我的包裹 json :

{
  "name": "proj",
  "version": "0.0.0",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.0",
    "ember-cli": "0.1.7",
    "ember-cli-6to5": "0.2.1",
    "ember-cli-content-security-policy": "0.3.0",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-htmlbars": "^0.6.0",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-less": "^1.1.0",
    "ember-cli-qunit": "0.1.2",
    "ember-data": "^1.0.0-beta.14.1",
    "ember-export-application-global": "^1.0.0",
    "express": "^4.8.5",
    "glob": "^4.0.5"
  }
}

我按照迁移指南中的步骤操作,所以不确定哪里出了问题。总的来说,我喜欢这些新变化,但未来是光明的。

属性绑定在 Ember 1.11,而不是 1.10。 1.10 版本的 blog post 详细讨论了这个即将推出的功能。