[Pkg-javascript-commits] [backbone] 27/28: patching a pernicious pushstate problem.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:01:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.5.3
in repository backbone.

commit 44629daacc1ee556bdf62deb92701f714f321126
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Tue Aug 9 10:28:20 2011 -0400

    patching a pernicious pushstate problem.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 0499281..4934a1b 100644
--- a/backbone.js
+++ b/backbone.js
@@ -766,7 +766,7 @@
           fragment = window.location.hash;
         }
       }
-      return fragment.replace(hashStrip, '');
+      return decodeURIComponent(fragment.replace(hashStrip, ''));
     },
 
     // 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