mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
27 lines
530 B
HTML
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>
|