Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated MM.Hash to throttle hash updates
Per @tmcw's request, MM.Hash now throttles hash updates (like Wax). This means less frequent hash.replace() calls, which should make it nicer to use on browsers (*cough* IE) that do stupid things like play clicking sounds whenever the URL changes. Also, removed standalone Hash implementation from examples/hash, and made sure that the map gets an initial center & zoom so that it doesn't redirect to #0/0/0 if loaded without a hash.
- Loading branch information
Shawn Allen
committed
Jan 6, 2012
1 parent
67cc268
commit 6174c5a
Showing
5 changed files
with
42 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters