-
2 Mar 2012 7:01 AM #1
Class System documentation change for apply and update methods.
Class System documentation change for apply and update methods.
Hi Guys,
Just a note on the documentation on the class system.
Your documentation here http://docs.sencha.com/touch/2-0/#!/guide/class_system says that there is an applyXXX method for the XXX config items. But it appears that there are actually 2 methods that should be taken into account applyXXX for transforming incoming values and updateXXX to perform side effects. http://mobile.dzone.com/articles/class-system-sencha-touch-2.
I've seen the update functions around occasionally and hadn't known really what they were for until I found this article. It would be good to clarify in the official documentation.
Thanks
Bob
-
2 Mar 2012 8:52 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
The update method has been around since the start so not sure how that was missed in the tutorial. Thank you for catching it and we will get that updated!
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.
-
27 Mar 2012 3:15 PM #3
Thanks for the pointer. Updated for the next docs refresh.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-2331
in
2.0.


Reply With Quote