Skip to content

can.view.render update is sometimes undefined #360

Closed
@amcdnl

Description

@amcdnl

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.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions