Template events: Meteortoys messing up arguments?


#1

Dear community,

In the guide I read about the template instance being the second argument of an event.
However, as I’m walking my first steps with meteor and blaze, I found the event handler being passed three arguments, the third one being the template instance:

I’ve been searching forums and the web, but didn’t find anyone having the same behavior. I checked my installed packages and found meteortoys which I tried out. After I removed the packages, the template instance was passed as second argument as expected.

Question:

  • Is that a bug in meteortoys?
  • Is there any configuration I’m missing?
  • Is there documentation you’d have to write your app differently when using the package?
  • If that is intended? What is the second argument in the event handler?

Cheers,
Oliver