-
25 Feb 2011 5:56 AM #1
[FIXED]documentation for AbstractManager is not that abstract
[FIXED]documentation for AbstractManager is not that abstract
First of all, thanks for the new framework.
It seems that the AbstractManager has been built on top of a previous ComponentMgr, as can be ssen from the comments/documentation. E.g.
So it might be worth going through the AbstractManager class and check if everything in there is really abstract. Probably no bug as such, but some documentation clean-up (e.g. doc for create properly says " * @return {Mixed} The instance of whatever this manager is managing". Not very beautiful sentence, but more accurate)PHP Code:/**
* Registers a function that will be called when a Component with the specified id is added to the manager. This will happen on instantiation.
* @param {String} id The component {@link Ext.Component#id id}
* @param {Function} fn The callback function
* @param {Object} scope The scope (<code>this</code> reference) in which the callback is executed. Defaults to the Component.
*/
onAvailable : function(id, fn, scope){
Also:
=> other classes extend ExtAbstractManager (e.g. Ext.ApplicationManager).PHP Code:/**
* @class Ext.AbstractManager
* @extends Object
* @ignore
* Base Manager class - extended by ComponentMgr and PluginMgr
*/
Regards
PS: btw, Ext.AbstractManager.html under ext-4.0-pr2\docs\api\ of my pr2 download is empty (0 byte), as well as a number of other files in there...
-
2 Mar 2011 5:40 AM #2
I've fixed these up to make the docs more general. Thanks.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-623] 1.0.1 Documentation bug: Ext.Router
By donp in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 25 Jan 2011, 10:44 PM -
[FIXED-214] Store documentation issue
By meyerovb in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 3 Sep 2010, 5:56 PM -
[FIXED-118] Documentation method doLayout
By meyerovb in forum Sencha Touch 1.x: BugsReplies: 3Last Post: 28 Jul 2010, 3:26 PM -
[FIXED-88] API Documentation Issues
By mpacheco in forum Sencha Touch 1.x: BugsReplies: 9Last Post: 28 Jul 2010, 3:15 PM -
[FIXED-89] Documentation scroll both is missing
By crp_spaeth in forum Sencha Touch 1.x: BugsReplies: 3Last Post: 29 Jun 2010, 1:18 PM


Reply With Quote