senchalabs/jsduck — Issue #146: Constructor is in middle of method list
Author: burnnat
Created: 2012-03-06 13:05:30+00:00
State: open

I see that in the body of class documentation pages, the class constructor is shown as the first method in the list. That seems very intuitive to me. However, in the dropdown list of method names for the class, the constructor is not shown at the top of the list - instead, it is sorted alphabetically with the methods starting with "C" (for "constructor", I assume). That makes it difficult to find the constructor in the list, confusing because the method is actually displayed as "new Ext.util.SomeClass" (not "constructor"), and inconsistent since it doesn't match the order of the methods on the page body. It seems to me that the constructor should be moved to the top of that method list dropdown.