-
14 Mar 2012 5:02 AM #1
Best practise for setting controller member variables
Best practise for setting controller member variables
I'm using the following
way in the define context of a controller.Code:leftline:50,baseline:0,textPadding:5, scalaX:1,scalaY:1,
then getting the values within the class as globals using this. It would be nice if they were private vars for my purposes. How can I do this.
Thanks
-
14 Mar 2012 5:20 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
There isn't a concept in javascript as private variables/methods.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote