You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The can.view.render class sometimes throws an Uncaught TypeError: undefined is not a function error because the update function is undefined at the call time.
The binder is called is called right away and if something updates the value before hookups are run, update will be undefined. This typically happens when a value used in live binding is updated inside of a can.view call, which is a bad thing to do.
The
can.view.render
class sometimes throws anUncaught TypeError: undefined is not a function
error because theupdate
function isundefined
at the call time.See : https://github.com/bitovi/canjs/blob/master/view/render.js#L227
I propose we add change it to be
update && update(newVal, oldVal)
See: http://screencast.com/t/jauYywxJSV
The text was updated successfully, but these errors were encountered: