Files
meteor/docs/client/projects.html
2012-02-02 17:20:07 -08:00

27 lines
530 B
HTML

<template name="projects">
<div>
{{#markdown}}
# Projects
XXX
<!-- XXX this is not the right place for this! I'm just putting it here
so it is _somewhere_. Move it later. -->
You can use the Meteor.startup() method on the server to run code once all
your javascript as finished loading.
<pre class="prettyprint">
Meteor.startup(function () { do_something_once_all_code_is_loaded() });
</pre>
This only works on the server. On the client, use jQuery.ready() or an
equivalent method.
{{/markdown}}
</div>
</template>