bartaz/impress.js — pull request #50 by Haacked (2012-01-12 08:07:03+00:00)
Title: Fixes `select` being called twice.

I took a different approach than what we discussed earlier.

The `select` method used to change the hash url which would trigger the 'hashchange' event listener and call `select` again. I refactored the code so that the keyboard and click events change the hash only (by calling a new `navigate` method). This in turns causes the navigation event to occur.

This way, `select` really is only called once.