Brad Dunbar
|
111d5a1f19
|
Add a test for #1052.
|
2012-02-27 14:16:00 -05:00 |
|
Brad Dunbar
|
ec61503c87
|
fixes #928 - Save sends correct attrs.
* Temporarily set model's attrs for `sync`.
* Remove cross-module (global) dependencies in
Collection, Model, and sync test modules.
|
2012-02-02 08:57:47 -05:00 |
|
Brad Dunbar
|
397d11e340
|
equals is deprecated; use equal instead
http://docs.jquery.com/QUnit/equal#actualexpectedmessage
|
2012-01-17 23:52:12 -05:00 |
|
Jeremy Ashkenas
|
cea56e523a
|
Fixes #563. Initial draft of 'wait: true' for pessimistic instead of optimistic save() create() and destroy(). Makes it easier to have your asynchronous UI and eat it too.
|
2012-01-17 15:26:26 -05:00 |
|
Jeremy Ashkenas
|
222d673dcc
|
Issue #289. Enable the use of jQuery.Deferred by returning Deferred objects from save() and fetch() calls.
|
2011-04-18 17:08:34 -04:00 |
|
Jeremy Ashkenas
|
1c308280c8
|
Updating to latest QUnit, fixing Issue #153 ... overly aggressive urlError.
|
2010-12-30 12:15:02 -05:00 |
|
Jeremy Ashkenas
|
3d8fe92f1e
|
Issue #78. Changes the Backbone.sync API to enable passing through of options ... like {data} in fetch()
|
2010-12-13 10:15:09 -05:00 |
|
Jeremy Ashkenas
|
151417e7bc
|
separating out emulateHTTP from emulateJSON, with tests.
|
2010-11-08 15:42:09 -05:00 |
|
Jeremy Ashkenas
|
d651d82e92
|
don't send any data up, if you're not sending any data up ... fixes destroy.
|
2010-11-02 13:48:10 -04:00 |
|
Jeremy Ashkenas
|
2d4ebd0271
|
Merging Issue #46. Use full JSON requests, falling back to encoded forms with emulateHttp.
|
2010-11-01 13:54:07 -04:00 |
|
John Wright
|
6c972695db
|
Default behavior for Backbone.sync is now to send everything as application/json. Emulating http and sending data as form url-encoded can be turned on with Backbone.emulateHttp
|
2010-10-29 10:47:59 -06:00 |
|
John Wright
|
302c0d5cee
|
Added Backbone.emulateJSON to enable the current behavior of syncing and made sending the body as application/json without a wrapping model param, the default
|
2010-10-28 20:21:59 -06:00 |
|
Jeremy Ashkenas
|
17d64e0a51
|
Adding Backbone.Model#fetch
|
2010-10-18 21:31:27 -04:00 |
|
Jeremy Ashkenas
|
7721f8481c
|
adding Backbone.emulateHttp for frameworks that don't support HTTP. Issue #11
|
2010-10-17 10:53:40 -04:00 |
|