18F/openFEC-web-app — pull request #13 by theresaanna (2014-12-19 01:06:49+00:00)
Title: URL formatting

This pull request:
- gives single committee and candidate pages a URL like "http://localhost/committee/id"
- moves single-links.js functionality (links in results tables to single entity pages) into tables.js
- moves id out of filters in the event context object and into a root-level property
- renames cmte_id and candidate_id to id
- makes all URLs absolute so that they resolve properly (note that many are absolute per the Node app's static asset handling. ex. /static/img -> /img)
- removes the Chosen binding from the single entity templates and puts it in single-entity.js
- adds a 'bind:singleEntity' event to init Chosen on single entity pages
- moves url updating from load:singleEntity -> render:singleEntity in the event that there are data loading issues (you'd never get to the single entity page if there are)
- moves the tablist.js module to the vendor dir