jasmine-headless-webkit/lib/jasmine/headless/jst_template.rb

11 lines
207 B
Ruby
Raw Normal View History

require 'sprockets/jst_processor'
module Jasmine::Headless
class JSTTemplate < Sprockets::JstProcessor
def evaluate(*args)
%{<script type="text/javascript">#{super}</script>}
end
end
end