| 12345678910111213141516171819202122232425262728293031323334 | /*!* Ext JS Library 4.0* Copyright(c) 2006-2011 Sencha Inc.* licensing@sencha.com* http://www.sencha.com/license*/Ext.define('MyDesktop.BogusMenuModule', {    extend: 'MyDesktop.BogusModule',    init : function() {        this.launcher = {            text: 'More items',            iconCls: 'bogus',            handler: function() {                return false;            },            menu: {                items: []            }        };        for (var i = 0; i < 5; ++i) {            this.launcher.menu.items.push({                text: 'Window '+(++windowIndex),                iconCls:'bogus',                handler : this.createWindow,                scope: this,                windowId: windowIndex            });        }    }});
 |