harvard-lil/stackview — pull request #16 by imakewebthings (2012-12-21 21:12:30+00:00)
Title: Empty Stack Modifications

These modifications should take care of most of the problems outlined in #15. I couldn't produce any console errors, but if somebody would like to provide me with a scenario that will produce them, I'd be happy to tack it on to this pull request. Current changes:

- Fix the left hand navigation count to say 0 instead of NaN.
- Add an empty message to the stack instead of the bookends hitting against each other. There is an option added to StackView, `emptyMessage`, which defaults right now to "No items found." This message is rendered into the `empty` template found in stackview.templates.js, should anyone need to modify that HTML.