Add application/javascript content_type to jst compiler.
This commit is contained in:
parent
aa1d989a90
commit
a8a8d25f6d
@ -3,6 +3,9 @@ require 'sprockets/jst_processor'
|
||||
module Jasmine::Headless
|
||||
class JSTTemplate < Sprockets::JstProcessor
|
||||
include Jasmine::Headless::FileChecker
|
||||
|
||||
self.default_mime_type = 'application/javascript'
|
||||
|
||||
def evaluate(*args)
|
||||
if bad_format?(file)
|
||||
alert_bad_format(file)
|
||||
|
Loading…
Reference in New Issue
Block a user