Warn about unready publications to spiderable docs

Fixes #1149.
This commit is contained in:
David Glasser
2014-04-21 19:17:46 -07:00
parent 3740d42f2d
commit ce201682f0

View File

@@ -33,6 +33,14 @@ If you deploy your application with `meteor bundle`, you must install
`$PATH`. If you use `meteor deploy` this is already taken care of.
{{/warning}}
{{#warning}}
When running your page, `spiderable` will wait for all publications
to be ready. Make sure that all of your [`publish functions`](#meteor_publish)
either return a cursor (or an array of cursors), or eventually call
[`this.ready()`](#publish_ready). Otherwise, the `phantomjs` executions
will fail.
{{/warning}}
{{/markdown}}
</template>