Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,339
    Vote Rating
    130
    LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all LesJ is a name known to all

      0  

    Default [OPEN-EXTJSIV-207] Mixins issues

    [OPEN-EXTJSIV-207] Mixins issues


    See this code fragment in Ed's blog:

    http://edspencer.net/2011/01/classes...-the-hood.html

    Code:
    //it’s easy to add more later too
    MyClass.mixin('draggable', 'Ext.util.Draggable');
    I see that the mixin() method is marked as private in Base.js. Should it be public?

    Second issue:

    I see that the Component class is using the 'Ext.util.Floating' mixin, but by default the floating config is set to false.

    Should 'Ext.util.Floating' be mixed in only if floating is true?

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Location
    Tokyo
    Posts
    9
    Vote Rating
    0
    Sakuro is on a distinguished road

      0  

    Default


    I think Base.mixin should be public, as Base.override is.

  3. #3
    Sencha - Training Team
    Join Date
    Nov 2009
    Location
    Washington, DC
    Posts
    62
    Vote Rating
    2
    sdruckerfig is on a distinguished road

      0  

    Default


    Also, there are some references in blog posts to the Ext.util.Draggable mixin, but I see no reference within the API docs. Is this an oversight?

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The docs should reference class mixins, we'll look into why this may not be happening.

Similar Threads

  1. Replies: 8
    Last Post: 11 Apr 2011, 7:49 PM
  2. [FIXED-EXTJSIV-190] TabCloseMenu
    By James Goddard in forum Ext:Bugs
    Replies: 2
    Last Post: 7 Apr 2011, 5:35 AM
  3. [FIXED-EXTJSIV-194] Grid Scroll Issues
    By James Goddard in forum Ext:Bugs
    Replies: 2
    Last Post: 1 Apr 2011, 11:05 AM
  4. [CLOSED EXTJSIV-146] Several issues with numeric axis
    By James Goddard in forum Ext:Bugs
    Replies: 6
    Last Post: 24 Mar 2011, 7:49 PM
  5. [FIXED-EXTJSIV-191] Component.js typos
    By LesJ in forum Ext:Bugs
    Replies: 1
    Last Post: 21 Mar 2011, 3:12 PM

Thread Participants: 3

Tags for this Thread