jeffdill2/hunger-crunch-tournament — pull request #18 by JoshuaWordSmith (2014-07-09 23:24:27+00:00)
Title: added live data and functionality to compare groups page

index.html --

split individual groups into their own template to be rendered in the page, both for groups that can be selected to be compared and groups that have been selected to be compared.

compare-groups-view.js --

added arrays to handle the parse info locally to avoid multiple calls. these arrays have groupTotals objects added and removed from them as the user clicks on the add or remove selectors.

added method to gather parse data and assign it to a local array

added method add objects to array of available groups
added method to render array of available groups

added method to add objects to array of groups being compared
added method to render array of objects being compared