I have a helper for it in one of my TextMate bundles that swaps back and forth if you hit it mo than once. I also prefer using a var over bind. Bind has it's uses, but I prefer the simpler var self = this when it works.
— Thomas Aylott (from iPad) On Oct 29, 2010, at 12:38 AM, Sean McArthur <[email protected]> wrote: > > Quite the opposite for me. I never bind anymore, and always use closures. > Feels like more control to me. > >> On Oct 29, 2010 12:29 AM, "Sanford Whiteman" <[email protected]> >> wrote: >> >> > Isn't that the way to go? I mean the "that = this" approach seems a >> > bit outdated to me. >> >> Not if you want both this-es. >> >> -- S >>
