ga-wdi-boston / ember-resources

Performing handling 'actions' in Ember, and using them to perform CRUD on the model.
Other
0 stars 112 forks source link

`valueBinding` is deprecated #14

Closed GA-MEB closed 8 years ago

GA-MEB commented 8 years ago

See deprecation messages below. It still works, for now, and correcting it should be a simple fix.

DEPRECATION: You're using legacy binding syntax: valueBinding="item.name" ('ember-repo-template/components/item-row/template.hbs' @ L6:C14) . Please replace with value=item.name [deprecation id: ember-template-compiler.transform-old-binding-syntax]
DEPRECATION: You're using legacy binding syntax: valueBinding="newItem.effect" ('ember-repo-template/components/new-item-form/template.hbs' @ L5:C19) . Please replace with value=newItem.effect [deprecation id: ember-template-compiler.transform-old-binding-syntax]
DEPRECATION: You're using legacy binding syntax: valueBinding="view.form.nationalPokeNum" ('ember-repo-template/pokemon/new/template.hbs' @ L3:C8) . Please replace with value=view.form.nationalPokeNum [deprecation id: ember-template-compiler.transform-old-binding-syntax]
GA-MEB commented 8 years ago

Current code has been updated to use value instead of valuebinding.