BBC-Location-Services/locservices-ui-js — pull request #5 by tomcollins (2014-07-01 22:49:52+00:00)
Title: User locations list

Some work left on this but something there to integrate against if you are working on the primary controller.

It reads a cookie from bbc.co.uk or bbc.com domains. I've setup localhost.bbc.co.uk in /etc/hosts (ask Kevin if you need help) in order to test this.

Incomplete:
- setting preferred location
- confirm dialogue (for preferred and delete)
- some @todo comments highlighting missing tests in the component module
- sprites/retina icons

Something needs to be done in order to actually add locations to the set of recent locations. This could be achieved by listening for other ui component location events and calling this.recentLocations.add().

Recess would not let me use the CSS class .ls-ui-comp-user_locations so I have had to use .ls-ui-comp-userLocations.