lib/linner/template.rb in linner-0.7.3 vs lib/linner/template.rb in linner-0.8.0

- old
+ new

@@ -1,8 +1,8 @@ require "tilt" require "sass" -require "compass" +require "compass/core" require "handlebars.rb" require "coffee_script" module Tilt class JavascriptTemplate < PlainTemplate @@ -16,10 +16,14 @@ class CompassSassTemplate < SassTemplate self.default_mime_type = 'text/css' private def sass_options - super.merge(Linner.sass_engine_options) + super.merge( + style: :expanded, + line_numbers: true, + load_paths: Linner.env.paths << Compass::Core.base_directory("stylesheets") + ) end end class CompassScssTemplate < CompassSassTemplate self.default_mime_type = 'text/css'