alaframboise/basemaptour — pull request #2 by nixta (2014-02-03 14:05:31+00:00)
Title: Pause on geocode, reset timer on prev/next. Some refactoring.

Not entirely convinced by the changes I've made here.

Had to break down some lines of code that had gone over the 100 character length limit too.

Compressed some single-line "if"s into inline ifs. I don't like that style, but hey, it's a code challenge.

Functionally: Pause on geocode. Reset counter to 5 seconds on prev/next. Do first item immediately on first "Play", not counting down from 5 before first jumping (otherwise Play doesn't seem to do anything).