fix crossroads examples to match v0.8.0 api
fix link to docs
add info about replaceHash() on README
add test for issue #39
Issue#39 fix
Remove the variable 'location' and using 'window.location' instead as the instance 'window.location' will be renewed in iOS5 when the user goes to other html page
Merge pull request #43 from edankwan/master

Fixes iOS5 bug related to back button after navigating to an external page.

window.location object is a different instance during each page load so cached variable will point to wrong object. This is related to some strong caching of JS state on iOS 5.
fix _isHashChangeSupported detection on IE compat mode (closes #44).
bump version to v1.1.1. add sh script to update gh-pages branch.
improve test for multiple redirections. see #39
Merge branch 'iss39'. update dist files and CHANGELOG. closes #39.

* iss39:
  improve test for multiple redirections. see #39
  Issue#39 fix
  add test for issue #39

Conflicts:
	dev/src/hasher.js
fix hash containing %. closes #42. closes #45
bump version to 1.1.2
Removed name from wrapper's define call.
Fixed fallback function for non-AMD setups.
add failing spec for '$' on hash. see #49
Prevent _trimHash from accidentally removing $

If hasher.appendHash was not set to anything, the regular expression
being used by _trimHash would end up escaping the dollar-sign, which was
intended to be the "end of line" regular expression. This  was causing
dollar signs to be removing from hashes. The fix: Rather than always
inserting a \\ escape sequence before the prependHash and appendHash
variables, I pass them into a new private function called _escapeRegExp,
which will return an empty string if the input string is empty. This way
the resulting regex will not end up escaping the wrong thing when
appendHash is empty. In addition, if prependHash or appendHash was more
than one character long, this new escape function can handle escaping
more than one special character, so that it's future proof.
Merge remote branch 'gertsonderby/master'

* gertsonderby/master:
  Fixed fallback function for non-AMD setups.
  Removed name from wrapper's define call.
update UMD wrapper so it works with r.js even after minification
simplify escapeRegExp and make sure it doesn't fail if value is falsy or not a string