2 May 2011 3:40 AM #1
- Join Date
- Nov 2010
- Dillenburg, Hessen, Germany
- Vote Rating
why using "var me = this;" in ext4?
i'm trying to understand the new class model and the new way to extend objects and stuff.
works all fine but there is one question i don't find any anwers in the frum or on the net:
what's the reason for using
var me = this; me.functionName();
i mean is it just for the opportunity of closures? or is there any other reason?
should i do it the same way in my code?
thx for any hints.
By MD in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 2 Jan 2014, 9:08 AM
By christopherbalz in forum Ext:BugsReplies: 4Last Post: 31 Mar 2011, 9:04 AM
By galdaka in forum Ext 3.x: BugsReplies: 3Last Post: 28 Oct 2009, 6:38 AM
By ealpha in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 18 May 2008, 8:28 PM