Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full support of non-integer exponents in all sass variations #113

Closed
wants to merge 2 commits into from

Conversation

strarsis
Copy link

This PR will add eyeglass-math as package dependency (for eyeglass users),
a feature detection for pow() supporting non-integer exponents
and a pow() polyfill that supports non-integer exponents.

eyeglass users can install modularscale-sass package as usual, no further intervention required,
pow() (so modularscale) will work with non-integer exponents nicely and very fast
(using eyeglass-math pow native javascript function).

plain libsass users and users of ruby sass without compass can also enjoy non-integer exponents
as the polyfill is used automatically, also no further intervention required, performance shouldn't be different.

With best regards

Add pow() with non-integer exponent support detection.
Add pow() with non-integer exponent support polyfill.
@strarsis strarsis changed the title pow with non-integer exponents Full support of non-integer exponents in all sass variations Nov 12, 2015
@strarsis strarsis mentioned this pull request Nov 12, 2015
@scottkellum
Copy link
Member

@strarsis Thanks for your work on this. 3.0 will allow you to plug in 3rd party pow() without cluttering up this codebase with supporting it.

Again, thanks for the work this is great but decluttering the codebase is a priority moving forward.

@strarsis
Copy link
Author

This is good news as I use libsass + eyeglass primarily now.
Can I install 3.0 already, would the 3x branch of this repository enough?

@scottkellum
Copy link
Member

@strarsis It’s not really packaged up for distribution but you can absolutely use it. Docs are written and stylesheets are here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants