lshift/diffa — pull request #71 by paulj (2012-03-16 10:21:39+00:00)
Title: Class controlled views

This patch changes the way we instantiate views to be based upon class matching instead of directly on IDs. This allows the page structure to change, or multiple widgets to be combined together, without requiring any changes in the javascript.

The domain that a given widget uses is controlled via a `data-domain` attribute. This should even allow multiple widgets from different domains to be placed on the same page.