[Pkg-javascript-commits] [backbone] 18/23: Issue #460 -- removing the optional bang from hashStrip ... too many inconsistencies.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:00:44 UTC 2014


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

js pushed a commit to tag 0.5.1
in repository backbone.

commit 10230e4d76e21f08a1dee1fe5d28994e2cf5f11d
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Tue Jul 5 09:03:33 2011 -0400

    Issue #460 -- removing the optional bang from hashStrip ... too many inconsistencies.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 6a2e518..2780069 100644
--- a/backbone.js
+++ b/backbone.js
@@ -738,7 +738,7 @@
   };
 
   // Cached regex for cleaning hashes.
-  var hashStrip = /^#*!?/;
+  var hashStrip = /^#*/;
 
   // Cached regex for detecting MSIE.
   var isExplorer = /msie [\w.]+/;

-- 
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