This file contains 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
# This is the root of our app | |
@root = File.expand_path(File.join(File.dirname(__FILE__), "www")) | |
run Proc.new { |env| | |
# Extract the requested path from the request | |
req = Rack::Request.new(env) | |
index_file = File.join(@root, req.path_info, "index.html") | |
if File.exists?(index_file) | |
# Rewrite to index |
This file contains 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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
@mixin calc($property, $value, $fallback) { | |
#{$property}: $fallback; | |
#{$property}: -webkit-calc(#{$value}); | |
#{$property}: calc(#{$value}); | |
} |