Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initialize blank slate.

  • Loading branch information...
commit ee04fdcbf4c537e063964503b325720f1d289c79 0 parents
@nelstrom authored
5 Gemfile
@@ -0,0 +1,5 @@
+source :rubygems
+
+gem "rack"
+gem "rack-rewrite"
+gem "serve"
9 config.ru
@@ -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')
7 public/app/app.js
@@ -0,0 +1,7 @@
+App = new Ext.Application({
+ name: "App",
+
+ launch: function() {
+ this.views.viewport = new this.views.Viewport();
+ }
+});
7 public/app/views/viewport.js
@@ -0,0 +1,7 @@
+App.views.Viewport = Ext.extend(Ext.Panel, {
+ fullscreen: true,
+
+ initComponent: function() {
+ App.views.Viewport.superclass.initComponent.apply(this, arguments);
+ }
+});
BIN  public/favicon.ico
Binary file not shown
16 public/index.html
@@ -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>
30,222 public/lib/sencha-touch-debug.js
30,222 additions, 0 deletions not shown
1  public/lib/sencha-touch.css
1 addition, 0 deletions not shown
6 public/lib/sencha-touch.js
6 additions, 0 deletions not shown
4 public/stylesheets/styles.css
@@ -0,0 +1,4 @@
+.metadata {
+ font-size: 80%;
+ color: #999;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.