Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Dec 1, 2023
1 parent 300042b commit 560a2ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/sassc/embedded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@

require_relative 'embedded/version'

module Sass
Compiler = Embedded unless defined?(::Sass::Compiler)
end

module SassC
class Engine
def render
return @template.dup if @template.empty?

base_importer = import_handler.setup(nil)

sass = ::Sass::Embedded.new
sass = ::Sass::Compiler.new

result = sass.compile_string(
@template,
Expand Down

0 comments on commit 560a2ce

Please sign in to comment.