Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

structure

  • Loading branch information...
commit fc0b71a6fd4e098461a4236669a84c30cc9dfde3 1 parent 62878cf
Stevie Graham stevegraham authored
4 Guardfile
View
@@ -1,9 +1,9 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
-guard 'haml', output: 'html', input: 'haml' do
+guard 'haml', output: 'app', input: 'haml' do
watch %r{^haml/.+(\.html\.haml)}
end
-guard 'coffeescript', input: 'coffeescripts', output: 'javascripts'
+guard 'coffeescript', input: 'coffeescripts', output: 'app'
8 app.rb
View
@@ -0,0 +1,8 @@
+require 'sinatra'
+
+set :public_folder, File.dirname(__FILE__) + '/app'
+
+get '/' do
+ redirect '/index.html'
+end
+
0  app/.index.html.haml
View
No changes.
2  html/index.html → app/index.html
View
@@ -2,7 +2,7 @@
<head>
<title>JPC2000 &ndash; JavaScript Production Center</title>
<script src='http://code.jquery.com/jquery-1.7.1.min.js' type='text/javascript'></script>
- <script src='../javascripts/jpc.js' type='text/javascript'></script>
+ <script src='jpc.js' type='text/javascript'></script>
</head>
<body>
<style type='text/css'>
0  javascripts/jpc.js → app/jpc.js
View
File renamed without changes
2  haml/index.html.haml
View
@@ -3,7 +3,7 @@
%title JPC2000 &ndash; JavaScript Production Center
%script{ type: 'text/javascript', src: 'http://code.jquery.com/jquery-1.7.1.min.js' }
- %script{ type: 'text/javascript', src: '../javascripts/jpc.js' }
+ %script{ type: 'text/javascript', src: 'jpc.js' }
%body
:css
Please sign in to comment.
Something went wrong with that request. Please try again.