Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make hash routing case-insensitive.

  • Loading branch information...
commit 72e4595fadec79c4c15fa7c43a951fb8fd805669 1 parent 7c6a58c
@fblee fblee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/lib/router.js
View
4 js/lib/router.js
@@ -298,9 +298,9 @@ _.extend(History.prototype, /*Events,*/ {
var fragment = this.fragment = this.getFragment(fragmentOverride);
var matched = _.any(this.handlers, function (handler) {
- if (handler.route.test(fragment)) {
+ if (handler.route.test(fragment.toLowerCase())) {
that._currentUrl = fragment;
- (handler.enter || handler.callback)(fragment);
+ (handler.enter || handler.callback)(fragment.toLowerCase());
return true;
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.