[Pkg-javascript-commits] [backbone] 90/211: Fix typo

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:00:07 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 ee2ec9213ea00ff17c6ad109902f77b01574dcce
Author: Jason Davies <jason at jasondavies.com>
Date:   Wed Mar 9 18:37:48 2011 +0000

    Fix typo
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 70d9a9e..1b11cbb 100644
--- a/backbone.js
+++ b/backbone.js
@@ -982,7 +982,7 @@
 
     // Ensure that we have the appropriate request data.
     if (!params.data && model && (method == 'create' || method == 'update')) {
-      params.contentType = 'application/json',
+      params.contentType = 'application/json';
       params.data = JSON.stringify(model.toJSON());
     }
 

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