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
// Handles JavaScript history management and callbacks. To use, register a | |
// regexp that matches the history hash with its corresponding callback: | |
// | |
// dc.history.register(/^#search/, controller.runSearch); | |
// | |
// And then you can save arbitrary history fragments. | |
// | |
// dc.history.save('search/freedom/p3'); | |
// | |
DV.history = { |