enyojs/enyo — pull request #797 by DavidUM (2014-07-14 00:39:15+00:00)
Title: Bhv 11591 Prevent unnecessary refresh() to increase performance

Issue
------
Whenever user remove models from collection, `refresh()` is executed.

Cause
--------
If removing models are placed in current pages, `refresh()` should be called.
To decide it, we use `indexOf()` to get the first position of models.
However when we call `indexOf()` in VerticalDelegates,js, models are already removed from collection

Fix
----
Get target index before actual removing from collection.
And deliver index info with `remove` event

Enyo-DCO-1.1-Signed-off-by: David Um david.um@lge.com