[Pkg-javascript-commits] [backbone] 27/37: Fixes #933, Fixes #908
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.1
in repository backbone.
commit ad870b256caead95a6d3fd367f791b740b15149b
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu Feb 2 14:41:36 2012 -0500
Fixes #933, Fixes #908
---
backbone.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backbone.js b/backbone.js
index ceb22e5..e889656 100644
--- a/backbone.js
+++ b/backbone.js
@@ -832,9 +832,9 @@
fragment = window.location.hash;
}
}
- fragment = decodeURIComponent(fragment.replace(routeStripper, ''));
+ fragment = decodeURIComponent(fragment);
if (!fragment.indexOf(this.options.root)) fragment = fragment.substr(this.options.root.length);
- return fragment;
+ return fragment.replace(routeStripper, '');
},
// Start the hash change handling, returning `true` if the current URL matches
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list