Sha256: 0b926f121c00c3ee0d1a515cd4e489b0a8f1a830c1fca297980dc7c3f479678b

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

require 'tilt'

module Tilt
  if respond_to?(:register_lazy)
    register_lazy :MustacheTemplate, 'tilt/mustache', 'mustache', 'ms'
    register_lazy :CssTemplate, 'tilt/css', 'css'
  else # support tilt v1
    require 'pieces/tilt/mustache'
    register Tilt::MustacheTemplate, 'mustache', 'ms'

    require 'pieces/tilt/css'
    register Tilt::CssTemplate, 'css'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pieces-0.3.5 lib/pieces/tilt_extension.rb