Skip to content

Instantly share code, notes, and snippets.

@abhiaiyer91
Created January 26, 2015 19:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save abhiaiyer91/de3dfe15f3f0f30b86c1 to your computer and use it in GitHub Desktop.
What the f@$k is this?
Template.samurai.created = function () {
console.log(this);
}
Template.samurai.rendered = function () {
console.log(this);
}
Template.samurai.events({
'click .sword': function (event, template) {
console.log(this);
}
});
Template.samurai.helpers({
'bushido': function () {
console.log(this);
}
});
Template.samurai.destroyed = function () {
console.log(this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment