Sencha Touch Template

An app template for Sencha. Fork to use.

by sammy

HTML

<link rel="stylesheet" href="http://cdn.sencha.io/touch/sencha-touch-2.2.1/resources/css/sencha-touch.css">
<script src="http://cdn.sencha.io/touch/sencha-touch-2.2.1/sencha-touch-all.js"></script>
<div id="appLoadingIndicator">
    <div></div>
    <div></div>
    <div></div>
</div>

JavaScript

Ext.application({
	name: 'Foobar',

	requires: [
	],

	views: [
	],

	launch: function() {
		// Destroy the #appLoadingIndicator element
		Ext.fly('appLoadingIndicator').destroy();

		// Initialize the main view
		// Ext.Viewport.add();
	}
});