klickr/klickr-chrome — pull request #28 by lramsey (2014-04-14 02:29:27+00:00)
Title: refactor player.js and background.js to bg-player.js

1) reorganize player.js, making it more modular
2) remove getData functions and restructure player.js so it only receives Klicks from bg-player. does not send any klicks out.
3) create bg-player from elements from background.js and player.js
4) create getKlick, klickQueue, buildKlickQueue, buildSubKlick functions
5) rewrite the bg-player functions that get triggered by the angular popup buttons
6) rewrite some of the event listeners
7) tested and basic play worked before merge.
8) merged with other recent changes.