mozilla-b2g/gaia — pull request #11412 by rwldrn (2013-08-07 21:50:16+00:00)
Title: Bug 882751 - Tapping in the center of the clock doesn't work as expected

https://bugzilla.mozilla.org/show_bug.cgi?id=882751

- Reorder digital-clock HTML elements to match analog-clock layout
- Creates explicit object for all timeouts
- Adds `container` to list of lazy init'ed elements
- Removes the unused `this.digitalClockBackground` element
- Consolidates init and initClockface, removes initClockface
- Ensures handleEvent is called with bound handlers
- removes unnecessary nested setTimeout function calls
- Consolidates logic from showAnalogClock, showDigitalClock and show
- Removes showAnalogClock, showDigitalClock
- Defines single pattern for clock face display
- Includes tests for support of Clock.show() and ClockView.handleEvent->show
- Adds mock_alarm_list, mock_asyncstorage

Signed-off-by: Rick Waldron