enyojs/enyo — pull request #923 by ryanjduffy (2014-11-10 15:40:28+00:00)
Title: Fixes CMB-3602

## Issue
If the collection for a DataList has no models, no pages are generated and code that relies on generated content fails. In this case, when the scroller is scrolled (or when it's shown and stabilized), the delegate tries to use the scroll threshold which hasn't been set up yet. DataList guards against the absence of a collection in its onScroll handler but doesn't guard against an empty collection.

## Fix
Add a guard for an empty collection in didScroll

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)