-
14 Mar 2011 8:03 AM #1
[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
I see that the mixin() method is marked as private in Base.js. Should it be public?Code://it’s easy to add more later too MyClass.mixin('draggable', 'Ext.util.Draggable');
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?
-
18 Mar 2011 6:29 AM #2
I think Base.mixin should be public, as Base.override is.
-
20 Mar 2011 5:49 AM #3
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?
-
21 Mar 2011 12:58 PM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
The docs should reference class mixins, we'll look into why this may not be happening.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-EXTJSIV-183][PR4] Layout rendering issues
By vmadman in forum Ext:BugsReplies: 8Last Post: 11 Apr 2011, 7:49 PM -
[FIXED-EXTJSIV-190] TabCloseMenu
By James Goddard in forum Ext:BugsReplies: 2Last Post: 7 Apr 2011, 5:35 AM -
[FIXED-EXTJSIV-194] Grid Scroll Issues
By James Goddard in forum Ext:BugsReplies: 2Last Post: 1 Apr 2011, 11:05 AM -
[CLOSED EXTJSIV-146] Several issues with numeric axis
By James Goddard in forum Ext:BugsReplies: 6Last Post: 24 Mar 2011, 7:49 PM -
[FIXED-EXTJSIV-191] Component.js typos
By LesJ in forum Ext:BugsReplies: 1Last Post: 21 Mar 2011, 3:12 PM


Reply With Quote