DEV: Replace sqrt() implementation with lib

Copied the needed functions out of https://github.com/terkel/mathsass
MIT license
This commit is contained in:
Kane York
2015-08-20 13:10:54 -07:00
parent 156c3651b5
commit 7147c0e8af
3 changed files with 172 additions and 24 deletions

View File

@ -1,6 +1,12 @@
require_dependency 'sass/discourse_sass_importer'
require 'pathname'
module Sass::Script::Functions
def _error(message)
raise Sass::SyntaxError, mesage
end
end
class DiscourseSassCompiler
def self.compile(scss, target, opts={})