[Pkg-javascript-commits] [backbone] 66/211: No periods on errors.

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


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

js pushed a commit to tag 0.5.0
in repository backbone.

commit 7d4d527c8c0ac609fdf2d48b6418cd628e758371
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Feb 7 10:28:39 2011 -0500

    No periods on errors.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 8cf40f1..dcda4a3 100644
--- a/backbone.js
+++ b/backbone.js
@@ -727,7 +727,7 @@
     // Start the hash change handling, returning `true` if the current URL matches
     // an existing route, and `false` otherwise.
     start : function() {
-      if (historyStarted) throw new Error("Backbone.history has already been started.");
+      if (historyStarted) throw new Error("Backbone.history has already been started");
       var docMode = document.documentMode;
       var oldIE = ($.browser.msie && (!docMode || docMode <= 7));
       if (oldIE) {

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