]> git.proxmox.com Git - sencha-touch.git/blobdiff - src/examples/device/app.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / device / app.js
diff --git a/src/examples/device/app.js b/src/examples/device/app.js
new file mode 100644 (file)
index 0000000..7411cfa
--- /dev/null
@@ -0,0 +1,39 @@
+//<debug>
+Ext.Loader.setPath({
+    'Ext': '../../src'
+});
+//</debug>
+
+Ext.application({
+    name: 'Device',
+
+    stores: ['Images'],
+
+    views: [
+        'Main',
+        'Information',
+        'Camera',
+        'Contacts',
+        'Connection',
+        'Notification',
+        'Orientation',
+        'Geolocation',
+        'Push',
+        'Purchases'
+    ],
+
+    controllers: [
+        'Application',
+        'Camera',
+        'Contacts',
+        'Notification',
+        'Connection',
+        'Push',
+        'Purchases',
+        'Scheme'
+    ],
+
+    launch: function() {
+        Ext.create('Device.view.Main');
+    }
+});