2011-12-12 23:20:20 +01:00
|
|
|
module ::PassThrough
|
|
|
|
def self.compress(data)
|
2011-12-12 22:54:04 +01:00
|
|
|
data
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
activate :minify_javascript
|
|
|
|
activate :minify_css
|
|
|
|
|
2012-04-08 05:00:24 +02:00
|
|
|
set :js_compressor, ::PassThrough
|
|
|
|
set :css_compressor, ::PassThrough
|
|
|
|
|
2011-12-12 22:54:04 +01:00
|
|
|
with_layout false do
|
|
|
|
page "/inline-css.html"
|
|
|
|
page "/inline-js.html"
|
|
|
|
page "/inline-coffeescript.html"
|
2012-04-08 05:00:24 +02:00
|
|
|
end
|