Commit 057d8c24 authored by Nick Poulden's avatar Nick Poulden
Browse files

Various tweaks and styling updates

parent 2624bac0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -77,8 +77,8 @@ task :export do
  ], false)
  
  system "mkdir -p #{OUT_DIR}/extjs/resources/themes"
  system "cp #{SDK_DIR}/extjs-all.js #{OUT_DIR}/extjs"
  system "cp -r #{SDK_DIR}/resources/themes/images #{OUT_DIR}/extjs/resources/themes"
  system "cp #{SDK_DIR}/build/sdk/extjs-all.js #{OUT_DIR}/extjs"
  system "cp -r #{SDK_DIR}/build/sdk/resources/themes/images #{OUT_DIR}/extjs/resources/themes"
end

desc "Run JSDuck on the Docs app itself"
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Ext.define('Docs.controller.Classes', {

    views: [
        'cls.List',
        'cls.Tree'
        'clsTree.Tree'
    ],

    init: function() {
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ Ext.define('Docs.view.Viewport', {
    requires: [
        'Docs.view.cls.Show',
        'Docs.view.cls.List',
        'Docs.view.clsTree.Tree',
        'Docs.History'
    ],

+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Ext.define('Docs.view.cls.List', {
        var data = this.classData;

        var tpl = new Ext.XTemplate(
            '<h1 class="pb">Ext JS 4.0 API Documentation</h1>',
            '<h1 class="pb">Ext JS 4.0.1 API Documentation</h1>',
            '<div class="legend icons">',
                '<h4>Legend</h4>',
                '<ul>',
+23 −1
Original line number Diff line number Diff line
/**
 * The class tree
 */
Ext.define('Docs.view.cls.Tree', {
Ext.define('Docs.view.clsTree.Tree', {
    extend: 'Ext.tree.Panel',
    alias : 'widget.classtree',

@@ -14,6 +14,28 @@ Ext.define('Docs.view.cls.Tree', {
    border: false,
    bodyBorder: false,
    
    // dockedItems: [
    //     {
    //         xtype: 'container',
    //         layout: {
    //             type: 'hbox'
    //         },
    //         dock: 'top',
    //         margin: '0 0 15 0',
    //         items: [
    //             {
    //                 margin: '0 10 0 0',
    //                 xtype: 'button',
    //                 text: 'Favorites'
    //             },
    //             {
    //                 xtype: 'button',
    //                 text: 'History'
    //             }
    //         ]
    //     }
    // ],

    initComponent: function() {
        // Expand the main tree
        this.root.expanded = true;
Loading