adsabs/bumblebee — pull request #15 by aholachek (2014-04-08 19:20:50+00:00)
Title: results-render works, with tests

Hi Roman,

The results render widget works like it's supposed to now, and it has tests for user interaction and for re-rendering.

I added a test_json folder to mocha's widget tests so that tests that require pubsub will have easy access to different bundles of fake data (with highlights and facets) so that they can easily test rendering and re-rendering.

Should we agree that all widget controllers need activate, afterActivate (this method subscribes to pubsub events), render, and onClose events? If so, should widget controllers be inheriting from a special bumblebee base widget controller that adds default methods?