Sha256: 00e072d760701608005a7058df2f61a52eddf8d9d6e566fa6fa169142c76f3c7

Contents?: true

Size: 215 Bytes

Versions: 14

Compression:

Stored size: 215 Bytes

Contents

module Sprockets
  class LiquidscriptTemplate < Template
    def self.default_mime_type
      'application/javascript'
    end

    def render(context)
      @output ||= Liquidscript.compile(data)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
liquidscript-0.5.1 lib/sprockets/liquidscript_template.rb
liquidscript-0.5.0 lib/sprockets/liquidscript_template.rb
liquidscript-0.4.1 lib/sprockets/liquidscript_template.rb
liquidscript-0.4.0 lib/sprockets/liquidscript_template.rb
liquidscript-0.3.1 lib/sprockets/liquidscript_template.rb
liquidscript-0.3.0 lib/sprockets/liquidscript_template.rb
liquidscript-0.2.1 lib/sprockets/liquidscript_template.rb
liquidscript-0.2.0 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.5 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.4 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.3 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.2 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.1 lib/sprockets/liquidscript_template.rb
liquidscript-0.1.0 lib/sprockets/liquidscript_template.rb