We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e41291 commit 3996e34Copy full SHA for 3996e34
lib/opal/haml/processor.rb
@@ -4,6 +4,8 @@
4
module Opal
5
module Haml
6
class Processor < ::Opal::Processor
7
+ self.default_mime_type = 'application/javascript'
8
+
9
def evaluate(context, locals, &block)
10
@data = Opal::Haml.compile_haml @data, context.logical_path.sub(/^templates\//, '')
11
super
0 commit comments