mercury 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mercury/helpers.rb +0 -6
- metadata +1 -1
data/lib/mercury/helpers.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'sinatra/base'
|
2
2
|
require 'sass'
|
3
|
-
require 'redcloth'
|
4
3
|
|
5
4
|
begin
|
6
5
|
require 'rdiscount'
|
@@ -16,7 +15,6 @@ module Sinatra
|
|
16
15
|
SASS = 'sass'
|
17
16
|
JS = 'js'
|
18
17
|
MDOWN = 'md'
|
19
|
-
# TEXTILE = 'textile'
|
20
18
|
COFFEE = 'coffee'
|
21
19
|
CSS = 'css'
|
22
20
|
SCSS = 'scss'
|
@@ -45,10 +43,6 @@ module Sinatra
|
|
45
43
|
Markdown.new(open_file(find_file(mdfile, MDOWN))).to_html
|
46
44
|
end
|
47
45
|
|
48
|
-
# def textile(txfile)
|
49
|
-
# RedCloth.new(open_file(find_file(txfile, TEXTILE))).to_html
|
50
|
-
# end
|
51
|
-
|
52
46
|
def coffee(coffeefile)
|
53
47
|
render_script open_file(find_file(coffeefile, COFFEE)), 'coffeescript'
|
54
48
|
end
|