Created
January 23, 2011 11:51
-
-
Save minikomi/792022 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "sinatra" | |
require "coffee-script" | |
get '/js/:scriptname' do | |
coffee params[:scriptname].intern | |
end | |
get "/" do | |
"<script src='/js/test'></script>" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment