Permalink
Browse files

Initialize blank slate.

  • Loading branch information...
0 parents commit ee04fdcbf4c537e063964503b325720f1d289c79 @nelstrom nelstrom committed Mar 29, 2011
@@ -0,0 +1,5 @@
+source :rubygems
+
+gem "rack"
+gem "rack-rewrite"
+gem "serve"
@@ -0,0 +1,9 @@
+require 'rubygems'
+require 'rack/rewrite'
+
+use Rack::Rewrite do
+ rewrite '/', '/index.html'
+end
+use Rack::Static, :urls => ['/'], :root => "public"
+
+run Rack::Directory.new('public')
@@ -0,0 +1,7 @@
+App = new Ext.Application({
+ name: "App",
+
+ launch: function() {
+ this.views.viewport = new this.views.Viewport();
+ }
+});
@@ -0,0 +1,7 @@
+App.views.Viewport = Ext.extend(Ext.Panel, {
+ fullscreen: true,
+
+ initComponent: function() {
+ App.views.Viewport.superclass.initComponent.apply(this, arguments);
+ }
+});
Binary file not shown.
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Sencha Touch</title>
+ <link rel="stylesheet" href="lib/sencha-touch.css" type="text/css" media="screen"/>
+ <link rel="stylesheet" href="stylesheets/styles.css" type="text/css" media="screen"/>
+
+ <script src="lib/sencha-touch-debug.js" type="text/javascript"></script>
+ <!-- app, models, stores, views, controllers [in that order!] -->
+ <script src="app/app.js" type="text/javascript"></script>
+ <script src="app/views/Viewport.js" type="text/javascript"></script>
+
+</head>
+<body>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit ee04fdc

Please sign in to comment.