aurelia / templating-binding

An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.
MIT License
32 stars 26 forks source link

cleanup: replace oneWay with toView #118

Open jdanyow opened 7 years ago

jdanyow commented 7 years ago

We should standardize the internals on toView now that it has landed. Here's one instance, probably others...

https://github.com/aurelia/templating-binding/blob/ebd3dc28b65a9fac15972281afe7078829a9f8b7/src/binding-language.js#L57

We still need to support oneWay but the internals should use toView where possible.

related to https://github.com/aurelia/binding/issues/629

veikkoeeva commented 6 years ago

Is this and the linked ones low-risk changes? :)

bigopon commented 6 years ago

Zero risk i would say :+1:

veikkoeeva commented 6 years ago

Should someone reel this wandering fix in? One place at a time is good enough for making progress. :)

bigopon commented 6 years ago

@veikkoeeva that'd be awesome 😄