Commit Graph

65 Commits

Author SHA1 Message Date
David Glasser
233626de86 Make Meteor.Cursor.forEach fully synchronous even if the user's callback yields.
Previously, if the callback yields (eg, if it does a DB query), the next
iteration of the callback could run, or the forEach could finish entirely,
because the future we waited on only checked to ensure that the callback was
*started* on all documents, not *finished*.

Fixes #321. Thanks to Scott Anderson for bug report with minimal reproduction
case.
2012-09-06 10:20:22 -07:00
Nick Martin
5a06b8ad12 More docs tweaks. 2012-08-30 18:04:32 -07:00
David Greenspan
5d34cdf1d2 tmpldecl => template in URL fragments 2012-08-30 15:05:41 -07:00
David Greenspan
e4a5cb6db1 isolate 2012-08-29 20:34:37 -07:00
David Greenspan
3423aee12c constant regions 2012-08-29 20:07:48 -07:00
David Greenspan
b557de261e render/renderList, delete old Meteor.ui 2012-08-29 19:04:37 -07:00
David Greenspan
1de8e506a2 preserve 2012-08-29 18:05:40 -07:00
Nick Martin
c839cc137c Replace or reword references to Meteor.ui 2012-08-29 18:00:17 -07:00
Nick Martin
ee3bd696fe Move flush to deps. Not the best place for it, but better than core. 2012-08-29 18:00:17 -07:00
David Greenspan
5b03c1f5fb events, helpers 2012-08-29 17:25:24 -07:00
David Greenspan
9c566c9788 template instances 2012-08-29 16:41:18 -07:00
Nick Martin
df7a24b6cc Make document structure match navbar, adding needed api boxes, etc. 2012-08-29 16:37:26 -07:00
David Greenspan
d1e56cd94f good nav 2012-08-29 15:38:49 -07:00
David Greenspan
c42070451f more template docs 2012-08-29 14:47:08 -07:00
David Greenspan
238cfd9a88 tweaks 2012-08-28 13:11:07 -07:00
David Greenspan
2fd4e4c5c1 more Template work 2012-08-28 13:11:07 -07:00
David Greenspan
bdb89d8c55 Create "Templates" section 2012-08-28 13:11:07 -07:00
David Greenspan
c758bbb164 Move Meteor.flush to Core 2012-08-28 13:11:07 -07:00
David Greenspan
2255c61383 more events({... changes 2012-08-23 12:17:53 -07:00
David Greenspan
4719433383 docs changes for event.{target -> currentTarget} change 2012-07-09 20:14:24 -07:00
matt debergalis
682c1650c5 document field specifiers 2012-07-02 18:21:53 -07:00
matt debergalis
eb25822679 rework publish example 2012-07-02 17:53:25 -07:00
Avital Oliver
f6a292d7e6 Very minor fix to documentation 2012-05-31 15:57:37 -07:00
David Greenspan
4ac26ecc49 note in docs about IE6-8 limitation 2012-05-16 12:52:47 -07:00
Geoff Schmidt
5e5769490a Clarifications in new events docs
(with David)
2012-05-15 15:18:11 -07:00
David Greenspan
15d38fefcd document supported event types 2012-05-11 12:37:12 -07:00
David Greenspan
fe3bbee305 event docs; xtreme markdown fixes 2012-05-11 12:37:11 -07:00
David Greenspan
2738e7798a event map wording fix 2012-05-11 12:37:10 -07:00
David Greenspan
4c38c567c7 remove docs warnings 2012-05-11 12:37:10 -07:00
David Greenspan
a8e3a266e4 update remove() example for new Meteor.ui; fixes #125 2012-05-11 12:36:41 -07:00
matt debergalis
986ffbae49 Provide document ID to Meteor.Collection callback. 2012-05-09 11:38:26 -07:00
matt debergalis
ee201b68d0 clean up set/unset text 2012-05-06 21:51:15 -07:00
matt debergalis
6cf6fab193 in publish, this.set() takes dictionary, not k and v. 2012-05-06 09:07:50 -07:00
phillc
25cb78e040 Typo in docs 2012-05-02 14:26:06 -07:00
Edward Ocampo-Gooding
88481938a0 Fix placement of collection cursor.forEach example in docs 2012-04-27 08:53:39 -07:00
David Greenspan
9e75e13c85 remove warning from docs 2012-04-26 11:18:07 -07:00
Gabriel Horner
00117e6fda Fix Meter.autosubscribe docs example to refer to correct method 2012-04-23 17:50:29 -07:00
matt debergalis
d86a6b1ced Add note to add HTTP package to use Meteor.http.
Break out the four helper methods into separate API stanzas for a bit
more clarity.
2012-04-22 15:24:30 -07:00
matt debergalis
4889a6d18e Make collection.remove() a no-op on client
This matches the server behavior.  It's dangerously easy to accidently
pass a falsey selector to remove.  To really remove all documents in a
collection, explicitly pass the {} selector.
2012-04-19 16:15:54 -07:00
Nick Martin
ddc2b0e5dd Docs tweak. 2012-04-19 16:07:04 -07:00
Nick Martin
3afa5fd9ca Update docs for http changes. 2012-04-19 15:39:00 -07:00
David Greenspan
adbd44491c docs wording improvement pass 2012-04-19 12:58:46 -07:00
David Greenspan
cde4a4abd2 First pass at HTTP docs. 2012-04-18 20:46:47 -07:00
matt debergalis
0f4fa81d77 Merge pull request #52 from shama/docs-typos
docs: typo fixes
2012-04-16 19:47:36 -07:00
matt debergalis
c819eac0bd Merge commit '5b61091' into devel 2012-04-16 15:03:12 -07:00
Kyle Robinson Young
37781a5e47 docs: typo fixes 2012-04-15 23:10:12 -07:00
David Greenspan
b123748709 fix insert() example (insert returns _id, not object) 2012-04-13 22:00:10 -07:00
Bobby Warner
5b61091665 Minor doc change in Meteor.ui.render 2012-04-12 00:25:06 -05:00
Geoff Schmidt
fab90d53ce remove the word 'preview' from our vocabulary 2012-04-10 01:09:13 -07:00
David Greenspan
6e5ccb8fda docs typo 2012-04-06 14:25:58 -07:00