Skip to content

Instantly share code, notes, and snippets.

@davidyeiser
Created February 14, 2012 16:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davidyeiser/1827834 to your computer and use it in GitHub Desktop.
Save davidyeiser/1827834 to your computer and use it in GitHub Desktop.
Adds the exp() function to SASS
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