tbranyen/backbone.layoutmanager — pull request #71 by vollnhals (2012-04-18 12:51:50+00:00)
Title: allow appending of views

I think appending of views does not work correctly.
I want to append a new view without re-rendering all other views.

I have a list view and an item view, just like the documentation describes.
I want to insert a new item view, when the collection has a new item.

i am doing:
@collection.bind("add", (item) =>
nv = new ItemView(
model: item
)
v = this.view("#notes", nv, true)
v.render()
)

but this removes every view instead.
therefore i think calling cleanViews with append = true is false.

or how are you supposed to insert a new view without re-rendering?