Commit fe56adfd authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Throw away Top100.

parent 0b04ba3c
Loading
Loading
Loading
Loading

template/app/Top100.js

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
/**
 * Top 100 Classes
 */
Ext.define("Docs.Top100", {
    extend: 'Docs.LocalStore',
    storeName: 'Top100',
    singleton: true,
    autoLoad: true

});

+2 −4
Original line number Diff line number Diff line
@@ -13,15 +13,13 @@ Ext.define('Docs.controller.Classes', {
    stores: [
        'Favorites',
        'History',
        'Settings',
        'Top100'
        'Settings'
    ],

    models: [
        'Favorite',
        'History',
        'Setting',
        'Top100'
        'Setting'
    ],

    refs: [

template/app/model/Top100.js

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
/**
 * Store for top 100 most visited classes.
 */
Ext.define('Docs.model.Top100', {
    fields: ['id', 'cls'],
    extend: 'Ext.data.Model',
    proxy: {
        type: ('localStorage' in window && window['localStorage'] !== null) ? 'localstorage' : 'memory',
        id  : 'docs-top100'
    }
});

template/app/store/Top100.js

deleted100644 → 0
+0 −99
Original line number Diff line number Diff line
/**
 * Top 100 Store
 */
Ext.define('Docs.store.Top100', {
    extend: 'Ext.data.Store',
    model: 'Docs.model.Top100',

    data: [
        {cls:'Ext.data.Store'},
        {cls:'Ext'},
        {cls:'Ext.grid.Panel'},
        {cls:'Ext.panel.Panel'},
        {cls:'Ext.form.field.ComboBox'},
        {cls:'Ext.form.Panel'},
        {cls:'Ext.data.Model'},
        {cls:'Ext.button.Button'},
        {cls:'Ext.tree.Panel'},
        {cls:'Ext.Component'},
        {cls:'Ext.app.Application'},
        {cls:'Ext.window.Window'},
        {cls:'Ext.form.Basic'},
        {cls:'Ext.core.Element'},
        {cls:'Ext.form.field.Text'},
        {cls:'Ext.grid.column.Column'},
        {cls:'Ext.data.proxy.Ajax'},
        {cls:'Ext.container.Container'},
        {cls:'Ext.tab.Panel'},
        {cls:'Ext.data.proxy.Proxy'},
        {cls:'Ext.data.TreeStore'},
        {cls:'Ext.app.Controller'},
        {cls:'Ext.Ajax'},
        {cls:'Ext.grid.View'},
        {cls:'Ext.data.reader.Json'},
        {cls:'Ext.AbstractComponent'},
        {cls:'Ext.container.Viewport'},
        {cls:'Ext.view.View'},
        {cls:'Ext.toolbar.Toolbar'},
        {cls:'Ext.window.MessageBox'},
        {cls:'Ext.Loader'},
        {cls:'Ext.layout.Layout'},
        {cls:'Ext.chart.Chart'},
        {cls:'Ext.tree.View'},
        {cls:'Ext.form.field.Field'},
        {cls:'Ext.Base'},
        {cls:'Ext.data.reader.Reader'},
        {cls:'Ext.ComponentQuery'},
        {cls:'Ext.panel.Table'},
        {cls:'Ext.selection.Model'},
        {cls:'Ext.tab.Tab'},
        {cls:'Ext.menu.Menu'},
        {cls:'Ext.grid.column.Action'},
        {cls:'Ext.form.field.Checkbox'},
        {cls:'Ext.data.Tree'},
        {cls:'Ext.grid.property.Grid'},
        {cls:'Ext.util.Observable'},
        {cls:'Ext.JSON'},
        {cls:'Ext.data.NodeInterface'},
        {cls:'Ext.layout.container.Border'},
        {cls:'Ext.data.Field'},
        {cls:'Ext.layout.container.HBox'},
        {cls:'Ext.form.FieldSet'},
        {cls:'Ext.form.field.Base'},
        {cls:'Ext.XTemplate'},
        {cls:'Ext.Date'},
        {cls:'Ext.Class'},
        {cls:'Ext.form.Label'},
        {cls:'Ext.container.AbstractContainer'},
        {cls:'Ext.form.action.Action'},
        {cls:'Ext.form.field.Date'},
        {cls:'Ext.layout.container.VBox'},
        {cls:'Ext.Array'},
        {cls:'Ext.data.proxy.Server'},
        {cls:'Ext.grid.plugin.RowEditing'},
        {cls:'Ext.ClassManager'},
        {cls:'Ext.data.proxy.Rest'},
        {cls:'Ext.layout.container.Card'},
        {cls:'Ext.data.AbstractStore'},
        {cls:'Ext.layout.container.Box'},
        {cls:'Ext.grid.plugin.CellEditing'},
        {cls:'Ext.form.FieldContainer'},
        {cls:'Ext.data.proxy.Direct'},
        {cls:'Ext.layout.container.Table'},
        {cls:'Ext.selection.RowModel'},
        {cls:'Ext.layout.container.Fit'},
        {cls:'Ext.ComponentLoader'},
        {cls:'Ext.grid.feature.Feature'},
        {cls:'Ext.layout.container.Anchor'},
        {cls:'Ext.toolbar.Paging'},
        {cls:'Ext.util.MixedCollection'},
        {cls:'Ext.Function'},
        {cls:'Ext.data.Operation'},
        {cls:'Ext.data.proxy.JsonP'},
        {cls:'Ext.form.field.TextArea'},
        {cls:'Ext.grid.header.Container'},
        {cls:'Ext.data.StoreManager'},
        {cls:'Ext.selection.CheckboxModel'},
        {cls:'Ext.layout.container.Container'}
    ]
});
+0 −8
Original line number Diff line number Diff line
@@ -125,14 +125,6 @@ Ext.define('Docs.view.Viewport', {
                                                Docs.Favorites.remove(cls);
                                            }
                                        }
                                    },
                                    {
                                        xtype: 'classgrid',
                                        id: 'top100-grid',
                                        title: 'Top 100',
                                        store: Ext.getStore('Top100'),
                                        enableClose: false,
                                        icons: Docs.icons
                                    }
                                ]
                            },