2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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={})