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

CDN, package.json, CSS Variables free #8

Open
jmas opened this issue Jun 3, 2016 · 2 comments
Open

CDN, package.json, CSS Variables free #8

jmas opened this issue Jun 3, 2016 · 2 comments

Comments

@jmas
Copy link

jmas commented Jun 3, 2016

CDN is good place where polyfills can be.

You can add package.json to add npm support. Other developers can import your polyfill to page through browserify.

As you can see caniuse statistics - CSS Variables is supported only by modern browsers. So please add IE browsers support.

@markasoftware
Copy link
Contributor

There is an npm package -- although if it's by the original author I'm unsure -- but it still creates multirange as a global variable, which is not idiomatic. Ideally, it should do some sort of detection to see if it is running in a CommonJS environment and assign to module.exports conditionally.

@LeaVerou
Copy link
Owner

LeaVerou commented Jan 7, 2019

@jmas I doubt at this point this would be accepted anywhere as a polyfill, since the relevant syntax was removed from the spec due to lack of implementor interest :(
This in turn reduced my interest in maintaining this plugin TBH...

@markasoftware Feel free to send a PR for this and (assuming it works and it's not huge) I'll merge it :)

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

No branches or pull requests

3 participants