mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +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:
@ -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={})
|
||||
|
Reference in New Issue
Block a user