Created
January 13, 2011 17:12
-
-
Save edoloughlin/778203 to your computer and use it in GitHub Desktop.
Can't set a class method as a click handler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to set menuClickCallback as a click handler in 4 different ways.
Line 22 is the only one where menuClickCallback actually gets called but it can't call @highlight or @clearContentArea.
It results in:
TypeError: Result of expression 'this.highlight' [undefined] is not a function.