kill -9 ps ax | grep node | grep meteor | awk '{print $1}'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Here we put the code so it is accessible app wide (assuming it's bound to <body>. | |
This also assumes both the FlowRouter package and the gwendall:body-events fix package. | |
*/ | |
if (Meteor.isClient) { | |
Template.body.events({ | |
"click [data-nav]": function (event, templ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Meteor.isClient) { | |
Template.home.onCreated(function () { | |
var self = this; | |
self.getSomething = function (param) { | |
// Get more complex stuff here | |
} | |
self.doSomething = function (param) { | |
// Do more complex stuff here |