Sha256: 732721813a9088115c35790d540ee1fa5a62c83022f21c4f7475b50cb57140bb

Contents?: true

Size: 449 Bytes

Versions: 15

Compression:

Stored size: 449 Bytes

Contents

require 'tilt'
require 'sassc'

module Awestruct
  module Tilt
    class SassSasscTemplate < ::Tilt::SassTemplate
      self.default_mime_type = 'text/css'

      def prepare
        @engine = ::SassC::Engine.new(data, sass_options)
      end
    end
    class ScssSasscTemplate < ::Tilt::ScssTemplate
      self.default_mime_type = 'text/css'

      def prepare
        @engine = ::SassC::Engine.new(data, sass_options)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
awestruct-0.6.7 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.6 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.5 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.4 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.3 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.2 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.1 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.0 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.0.RC1 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.0.alpha4 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.0.alpha3 lib/awestruct/handlers/template/sassc.rb
awestruct-0.6.0.alpha1 lib/awestruct/handlers/template/sassc.rb
awestruct-0.5.7 lib/awestruct/handlers/template/sassc.rb
awestruct-0.5.7.RC2 lib/awestruct/handlers/template/sassc.rb
awestruct-0.5.7.RC1 lib/awestruct/handlers/template/sassc.rb