guard-mirror 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/mirror/jade/template.rb +1 -3
- metadata +1 -1
@@ -1,14 +1,12 @@
|
|
1
1
|
module ::Jade
|
2
|
-
class Template
|
2
|
+
class Template < Tilt::Template
|
3
3
|
|
4
4
|
private
|
5
5
|
|
6
6
|
def compile_function
|
7
7
|
if file.end_with? '.html.jade'
|
8
|
-
Template.default_mime_type = 'text/html'
|
9
8
|
compiler = HtmlCompiler
|
10
9
|
else
|
11
|
-
Template.default_mime_type = 'application/javascript'
|
12
10
|
compiler = Compiler
|
13
11
|
end
|
14
12
|
|