Fix some rendering-related problems with ListView and ListItemView.
Review Request #5718 — Created April 16, 2014 and submitted — Latest diff uploaded
ListView
was attaching to collection events ininitialize
and rendering
as a result. This meant that they could render beforerender()
was
called, causing breakages. Now, these events are attached inrender()
instead.
ListItemView
had some whitespace before the default displayed text,
which isn't ideal. This changes the template to not indent.
Unit tests in RBC that were failing before now pass.