[Pkg-javascript-commits] [backbone] 158/211: documenting that fetch options can also be jquery options.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:00:18 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 9503627e08f2fa784e503c6da00c943331ae107b
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu May 26 14:00:45 2011 -0400
documenting that fetch options can also be jquery options.
---
index.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/index.html b/index.html
index 2874e8a..c1d6243 100644
--- a/index.html
+++ b/index.html
@@ -1341,6 +1341,12 @@ Accounts.fetch();
of replacing the collection's contents, pass <tt>{add: true}</tt> as an
option to <b>fetch</b>.
</p>
+
+ <p>
+ <b>jQuery.ajax</b> options can also be passed directly as <b>fetch</b> options,
+ so to fetch a specific page of a paginated collection:
+ <tt>Documents.fetch({data: {page: 3}})</tt>
+ </p>
<p>
Note that <b>fetch</b> should not be used to populate collections on
--
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