siq/gloss — pull request #26 by mmuzamil (2012-07-24 09:39:55+00:00)
Title: CollectionViewable: Added listener to handle updates in all scenarios

- Previously this listener was only being added on success of load function, which works fine in normal scenarios. But in case of race condition, where response for 2nd load request comes before this request, the success path of this request never gets executed and in turn the update event listener never gets registered to this collection.

One question, related to this event listener, In Line of 23 of this file, we are using collectionMap before setting models in the widget, do we need to do same in this event listener?