Permalink
Browse files

simplifying

  • Loading branch information...
1 parent a4fe366 commit 633ce33d9e482b4f7cd272fbc1954b6db92019e6 @alandipert committed Jul 20, 2011
Showing with 7 additions and 14 deletions.
  1. +4 −6 app.html
  2. +2 −7 app.rb
  3. +1 −1 public/app.css
View
@@ -10,12 +10,10 @@
</head>
<body>
<h1>Shout2</h1>
- <div id="shoutbox">
- <form id="shoutform">
- <input id="msg" type="text"/>
- <input id="shout" type="submit"/>
- </form>
- </div>
+ <form id="shoutform">
+ <input id="msg" type="text"/>
+ <input id="shout" type="submit"/>
+ </form>
<ul id="shouts">
</ul>
</body>
View
@@ -4,16 +4,11 @@
@@shouts = ["inaugural wassap"]
get '/app.js' do
- coffee File.read(File.join('app.js.coffee'))
+ coffee File.read('app.js.coffee')
end
-get '/messaging.js' do
- coffee File.read(File.join('messaging.js.coffee'))
-end
-
-
get '/' do
- File.read(File.join('app.html'))
+ File.read('app.html')
end
post '/events' do
View
@@ -5,7 +5,7 @@ body {
padding: 20px;
}
-div#shoutbox {
+form#shoutform {
text-align: center;
}

0 comments on commit 633ce33

Please sign in to comment.