X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/js/PageHeader.js diff --git a/docs/js/PageHeader.js b/docs/js/PageHeader.js deleted file mode 100644 index faf57955..00000000 --- a/docs/js/PageHeader.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Renders class name and icon in page header. - */ -Ext.define('Docs.PageHeader', { - singleton: true, - - /** - * Renders class in header. - * @param {Object} docClass class configuration object. - */ - load: function(docClass) { - if (!this.tpl) { - this.tpl = new Ext.XTemplate( - '

', - '{name}', - '', - 'xtype: {xtype}', - '', - '

', - { - getClass: function(cls) { - if (cls.component) { - return "component"; - } - else if (cls.singleton) { - return "singleton"; - } - else { - return "class"; - } - } - } - ); - } - Ext.get('top-block').update(this.tpl.apply(docClass)); - } -});