Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Meteor.is_client) {
- $(document).ready(function() {
- $('body').append(HAML['hello']({name: 'world'}));
- });
- }
- if (Meteor.is_server) {
- Meteor.startup(function () {
- // code to run on server at startup
- });
- }
Add Comment
Please, Sign In to add comment