Fix some rendering-related problems with ListView and ListItemView.
Review Request #5718 — Created April 16, 2014 and submitted — Latest diff uploaded
ListViewwas attaching to collection events ininitializeand rendering
as a result. This meant that they could render beforerender()was
called, causing breakages. Now, these events are attached inrender()
instead.
ListItemViewhad 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.