davidcl64/litelist — pull request #18 by davidcl64 (2014-08-23 05:09:59+00:00)
Title: Initialize first/last VisibleItem to avoid NaN cascade

Fixes #16

_firstVisibleItem is never initialized which results in percentInView,
this.scrollTop and newFirstVislble being calculated as NaN.

Initializing both _first and _last VisibleItem values to zero fixes the
NaN issue and cleans up the rendering issue when initializing LiteList
with an out of DOM element.