UNPKG

extjs-gpl

Version:

GPL licensed version of Sencha Ext JS

20 lines (16 loc) 534 B
/** * The Application class just links up the main controller and our simulated data. */ Ext.define('Ticket.Application', { extend: 'Ext.app.Application', controllers: [ 'Root@Ticket.controller' ], onBeforeLaunch: function () { // All smoke-and-mirrors with data happens in SimData. This is a fake server that // runs in-browser and intercepts the various Ajax requests a real app would make // to a real server. Ticket.SimData.init(); this.callParent(); } });