We want to support event binding to a context which might be undefined through the :by attribute.
The change in functionality will create an observation which watches the context suggested through :by and rebinds the actual event handler when that context changes. This permits null values, initial or otherwise.
Please provide feedback on test cases, if you can think of something that I missed!
This resolves: https://github.com/canjs/can-stache-bindings/issues/510
We want to support event binding to a context which might be undefined through the
:by
attribute.The change in functionality will create an observation which watches the context suggested through
:by
and rebinds the actual event handler when that context changes. This permits null values, initial or otherwise.Please provide feedback on test cases, if you can think of something that I missed!