Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    11
    Vote Rating
    0
    vdan is on a distinguished road

      0  

    Default [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.

    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(idfnscope){ 
    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)

    Also:
    PHP Code:
    /**
     * @class Ext.AbstractManager
     * @extends Object
     * @ignore
     * Base Manager class - extended by ComponentMgr and PluginMgr
     */ 
    => other classes extend ExtAbstractManager (e.g. Ext.ApplicationManager).

    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. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,648
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    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!

Similar Threads

  1. [FIXED-623] 1.0.1 Documentation bug: Ext.Router
    By donp in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 25 Jan 2011, 10:44 PM
  2. [FIXED-214] Store documentation issue
    By meyerovb in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 3 Sep 2010, 5:56 PM
  3. [FIXED-118] Documentation method doLayout
    By meyerovb in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 28 Jul 2010, 3:26 PM
  4. [FIXED-88] API Documentation Issues
    By mpacheco in forum Sencha Touch 1.x: Bugs
    Replies: 9
    Last Post: 28 Jul 2010, 3:15 PM
  5. [FIXED-89] Documentation scroll both is missing
    By crp_spaeth in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 29 Jun 2010, 1:18 PM

Thread Participants: 1