Sha256: 0a1c5a3c9b0474922a2bf627571d884b3a235c8ae65e91e7ebe4dc964ad37ece

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

require 'sprockets/jst_processor'

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jasmine-headless-webkit-0.8.1 lib/jasmine/headless/jst_template.rb
jasmine-headless-webkit-0.8.0 lib/jasmine/headless/jst_template.rb
jasmine-headless-webkit-0.8.0.alpha.1 lib/jasmine/headless/jst_template.rb