davidcl64/litelist — pull request #3 by davidcl64 (2014-05-02 21:24:18+00:00)
Title: Standalone

**Breaking Changes**
- Removed rivets and tween.js from bundled build. Either include a script tag for these in your markup or do a custom build.
- Now using browserify's standalone option to export a single object on the global namespace.

**Changes**
- Allow passing of a DOM node as well as a query selector on construction for more flexibility.
- Allow passing of additional models and configuration to rivets on construction to enable more advanced use cases.
- Added delayBinding option during construction. If ```true``` the caller must explicitly call `.bind()` on the list.

**Fixed**
- Scrolling back and forth would sometimes leave holes in the list. The buffer/layout logic has been reworked an simplified as a result.
- Adding new items to the list when the last item is currently visible wouldn't render properly. Current fix is a bit drastic and iterates/resets the whole view buffer. This needs to be revisited as time permits to optimize for different use cases (see comments in code).

**Miscellaneous**
- Added a visual debugging page to better see what is going on with the view buffer and layout.