newshour/map_center — pull request #17 by jugglinmike (2012-09-13 15:21:58+00:00)
Title: Frontend consolidate

1) The logic for maintaining the MapCenter UI had become fragmented across
two files. Combining the logic into the "ui_realtime.js" file will bring
two benefits:

- Centralize concerns for increased maintainability
- Allow all UI logic to be linted

2) This work better separates concerns from setting the
map state (whether through user interaction or broadcasted events
received over the network) and updating the map.

3) The "broadcaster login" hyperlinks are dynamically generated based on
the location of the Socket.io connections.