gui-tool
Version:
Generating of ExtJS prototypes and skeleton applications with Siesta tests has never been so easy and fast.
29 lines (28 loc) • 650 B
JavaScript
//--------------------------------------//
// IT'S REQUIRED FOR THE AUTO REFRESH //
Ext.Loader.injectScriptElement('https://cdn.socket.io/socket.io-1.3.4.js', 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}}
]
});