flatiron/director — pull request #156 by wachunga (2012-11-01 15:36:32+00:00)
Title: Fix setRoute and getRoute in IE7

There's a problem originating in explode() that causes the '#' to not be removed from the hash.

For example, if dloc.hash is '#/foo/bar', `getRoute(0)` returns an empty string in IE7 instead of 'foo'.

It's a simple fix. The problem is that the shortcut string index notation doesn't work consistently across browsers (see [discussion here](http://stackoverflow.com/questions/5943726/string-charatx-or-stringx)).