looks like a typo on line 1069. Should be `a.on("foo", ...)`

Good eyes!