X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..76cb34406ceaf9681a76e13b531d7eafa483ad88:/docs/resources/docs.js diff --git a/docs/resources/docs.js b/docs/resources/docs.js index b9493978..0c15f186 100644 --- a/docs/resources/docs.js +++ b/docs/resources/docs.js @@ -1,3 +1,9 @@ +/*! + * Ext JS Library 3.0.0 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ Ext.BLANK_IMAGE_URL = 'resources/s.gif'; Docs = {}; @@ -44,20 +50,23 @@ Ext.extend(ApiPanel, Ext.tree.TreePanel, { if(cls){ var parts = cls.split('.'); var last = parts.length-1; + var res = []; + var pkg = []; for(var i = 0; i < last; i++){ // things get nasty - static classes can have . var p = parts[i]; var fc = p.charAt(0); var staticCls = fc.toUpperCase() == fc; if(p == 'Ext' || !staticCls){ - parts[i] = 'pkg-'+p; + pkg.push(p); + res[i] = 'pkg-'+pkg.join('.'); }else if(staticCls){ --last; - parts.splice(i, 1); + res.splice(i, 1); } } - parts[last] = cls; + res[last] = cls; - this.selectPath('/root/apidocs/'+parts.join('/')); + this.selectPath('/root/apidocs/'+res.join('/')); } } }); @@ -220,7 +229,7 @@ Ext.extend(MainPanel, Ext.TabPanel, { '', '
', '', - '{member}', + '{member}', ' ', '{cls}', '

{doc}

',