by dts · 14y ago · 0 comments
The backbone boilerplate on Github (by tbranyen) has been a useful model to follow: https://github.com/tbranyen/backbone-boilerplate/blob/master...
If your "app" is going to be embedded as a part of someone else's page, then you have to be much more careful. The results cards in the sidebar here are only exposed through a single variable: "eg2012.Card":
http://www.nytimes.com/2012/02/08/us/politics/minnesota-colo...