Skip to content

Commit 72453bb

Browse files
committed
Merge pull request #236 from ryankshaw/master
fix for using 'sass' css compressor
2 parents 5cd935b + 6f0c096 commit 72453bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jammit/sass_compressor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(options = {})
1010
# Compresses +css+ using sass' CSS parser, and returns the
1111
# compressed css.
1212
def compress(css)
13-
root_node = ::Sass::SCSS::CssParser.new(css).parse
13+
root_node = ::Sass::SCSS::CssParser.new(css, 'jammit-combined-input').parse
1414
root_node.options = {:style => :compressed}
1515
root_node.render.strip
1616
end

0 commit comments

Comments
 (0)