From cbefdb8a555efdcec6302d5998a9db17ec2e165b Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sat, 2 Jul 2011 10:04:05 -0400 Subject: [PATCH] Fixes #454, docs for backbone.sync --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b91c1191..92f483fd 100644 --- a/index.html +++ b/index.html @@ -383,6 +383,8 @@ refresh is now reset. The previous saveLocation and setLocation functions have been replaced by navigate. + Backbone.sync's method signature has changed to allow the passing + of arbitrary options to jQuery.ajax. Be sure to opt-in to pushState support, if you want to use it.

@@ -1627,14 +1629,13 @@ $(function(){

- The method signature of Backbone.sync is sync(method, model, success, error) + The method signature of Backbone.sync is sync(method, model, [options])