Skip to content

Commit

Permalink
Initialize blank slate.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Mar 29, 2011
0 parents commit ee04fdc
Show file tree
Hide file tree
Showing 10 changed files with 30,277 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
@@ -0,0 +1,5 @@
source :rubygems

gem "rack"
gem "rack-rewrite"
gem "serve"
9 changes: 9 additions & 0 deletions 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 changes: 7 additions & 0 deletions public/app/app.js
@@ -0,0 +1,7 @@
App = new Ext.Application({
name: "App",

launch: function() {
this.views.viewport = new this.views.Viewport();
}
});
7 changes: 7 additions & 0 deletions 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);
}
});
Binary file added public/favicon.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions 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>

0 comments on commit ee04fdc

Please sign in to comment.