First, open up Textmate and go to
Bundle Editor then
variable.language.js. Here you'll see that
this are lumped together. All we need to do is add our friend (and an additional pipe symbol) to the list:
That's all that's required to make
_this a first-class, syntax-highlighted, citizen. Now your callbacks are nice and legible.
And there we go! You can also add in
self if you're not a
And in case you weren't convinced by my compelling arguments - Dave Sims leaves you with this piece of food-for-thought from The Deer Hunter...