Created
February 14, 2012 16:15
-
-
Save davidyeiser/1827834 to your computer and use it in GitHub Desktop.
Adds the exp() function to SASS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Sass::Script::Functions | |
def exp(value, power) | |
Sass::Script::Number.new(value.value**power.value) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment