mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
change hashStrip regex to strip bang as well, so hash-bang urls will work transparently
This commit is contained in:
@@ -731,7 +731,7 @@
|
||||
};
|
||||
|
||||
// Cached regex for cleaning hashes.
|
||||
var hashStrip = /^#*/;
|
||||
var hashStrip = /^#*!?/;
|
||||
|
||||
// Has the history handling already been started?
|
||||
var historyStarted = false;
|
||||
|
||||
Reference in New Issue
Block a user