Commit 058b75bf authored by Nick Poulden's avatar Nick Poulden
Browse files

Commenting

parent b1f331e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
/**
 * Main application definition for Docs app. Defines a 'Docs' namespace under 
 * which all models, views, controllers, stores, helpers etc should be defined.
 */
Ext.application({
    name: 'Docs',

+3 −0
Original line number Diff line number Diff line
/**
 * Listeners should be defined here instead of in the view classes
 */
Ext.define('Docs.controller.Classes', {
    extend: 'Ext.app.Controller',

+3 −1
Original line number Diff line number Diff line
/**
 * The main screen, split in to a west and center region
 * The main viewport, split in to a west and center region. 
 * The North region should also be shown by default in the packaged 
 * (non-live) version of the docs. TODO: close button on north region.
 */
Ext.define('Docs.view.Viewport', {
    
+0 −25
Original line number Diff line number Diff line
@@ -11,31 +11,6 @@ Ext.define('Docs.view.class.Overview', {
    autoScroll: true,
    bodyPadding: '20',

    // listeners: {
    //     afterrender: function(cmp) {
    //         
    //         // Expand member when clicked
    //         cmp.el.addListener('click', function(cmp, el) {
    //             Ext.get(Ext.get(el).up('.member')).toggleCls('open');
    //         }, this, {
    //             preventDefault: true,
    //             delegate: '.expandable'
    //         });
    //         // Do nothing when clicking on not-expandable items
    //         cmp.el.addListener('click', Ext.emptyFn, this, {
    //             preventDefault: true,
    //             delegate: '.not-expandable'
    //         });
    // 
    //         cmp.el.addListener('click', function(cmp, el) {
    //             Docs.ClassLoader.load(el.rel);
    //         }, this, {
    //             preventDefault: true,
    //             delegate: '.docClass'
    //         });
    //     }
    // },
    
    /**
     * Scrolls the specified element into view
     *
+4 −0
Original line number Diff line number Diff line
/**
 * The documentation panel.
 * TODO: Source code tab, Examples, Q&A
 */
Ext.define('Docs.view.class.Panel', {
    extend: 'Ext.tab.Panel',
    
Loading