[Pkg-javascript-commits] [backbone] 197/281: Fixes #634, documentation of emulateHTTP

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:12 UTC 2014


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

js pushed a commit to tag 0.9.0
in repository backbone.

commit 32e5ab7ae9997ac8d4a98ff7edb8a53d14d6aa57
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Fri Jan 13 16:17:24 2012 -0500

    Fixes #634, documentation of emulateHTTP
---
 index.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index 757bb4c..2f69a05 100644
--- a/index.html
+++ b/index.html
@@ -1754,8 +1754,9 @@ end
       If you want to work with a legacy web server that doesn't support Backbones's
       default REST/HTTP approach, you may choose to turn on <tt>Backbone.emulateHTTP</tt>.
       Setting this option will fake <tt>PUT</tt> and <tt>DELETE</tt> requests with
-      a HTTP <tt>POST</tt>, and pass them under the <tt>_method</tt> parameter. Setting this option
-      will also set an <tt>X-HTTP-Method-Override</tt> header with the true method.
+      a HTTP <tt>POST</tt>, setting the <tt>X-HTTP-Method-Override</tt> header 
+      with the true method. If <tt>emulateJSON</tt> is also on, the true method 
+      will be passed as an additional <tt>_method</tt> parameter.
     </p>
 
 <pre>

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