UNPKG

gui-tool

Version:

Generating of ExtJS prototypes and skeleton applications with Siesta tests has never been so easy and fast.

30 lines 664 B
//--------------------------------------// // IT'S REQUIRED FOR THE AUTO REFRESH // Ext.Loader.loadScript({ url: 'https://cdn.socket.io/socket.io-1.3.4.js', onLoad: function () { var socket = io(); socket.on('app change', function(msg) { window.location.reload(); }); }}); //--------------------------------------// Ext.define('{{appName}}.Application', { name: '{{appName}}', extend: 'Ext.app.Application', requires: [ {{appRequires}} ], views: [ {{views}} ], controllers: [ {{controllers}} ], models: [ {{models}} ], stores: [ {{stores}} ] });