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

Remove the non-standard image-url function #834

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Jan 12, 2015

This PR removes the non-standard image-url function as per discussion in #489.

Calling image-url will now result in an error message informing the user this function no longer exists.
I felt this was more developer friendly than the standard fallback of transparently outputting the function signature to css.

An alternative approach would be to produce a warning in the console and then do the normal fallback behaviour?

Thoughts @mgreter @hcatlin ?

Fixes #489. Corresponding sassc change sass/sassc#92.

@xzyfer xzyfer force-pushed the feat/remove-image-url branch from cbf718f to c82c82b Compare February 16, 2015 07:15
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 76.43% when pulling c82c82b on xzyfer:feat/remove-image-url into 003d3dc on sass:master.

xzyfer added a commit that referenced this pull request Feb 16, 2015
Remove the non-standard image-url function
@xzyfer xzyfer merged commit 1f40bf4 into sass:master Feb 16, 2015
@xzyfer xzyfer deleted the feat/remove-image-url branch February 16, 2015 07:28
@drewwells
Copy link
Contributor

💯 yay!

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

Successfully merging this pull request may close these issues.

Should libsass have an image-url function?
4 participants