kahwee / backbone-deep-model

Improved support for models with nested attributes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not set property of an array element

joexzh opened this issue · comments

If I write this:

    model.set("arr.0.name", "Joe");

The model is not finding the first element of arr, but created a new property named "arr.0.name", which is not the expected behavior.