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

Javascript support #18

Open
lefta opened this issue Jun 3, 2018 · 1 comment
Open

Javascript support #18

lefta opened this issue Jun 3, 2018 · 1 comment

Comments

@lefta
Copy link

lefta commented Jun 3, 2018

I must admit that this tool is awesome, I always wanted this kind of stuff.

I hacked it a little bit and found that there is no support for Javascript. This would make it the perfect pre-check tool to have an overlook on potential pitfalls on other browsers.

From the activity of the repository, I see that you (@eduardoboucas ) do not have a lot of time to spend on this project. I'm very interrested in it and would be glad to help you improve it on my free time, especially with this issue. If you have some clues where to start to bring Javascript support (which libraries could help, if you know some, and how to integrate it) this would buy me some time for actually implementing it.

@eduardoboucas
Copy link
Owner

Thank you!

You're right in saying that I don't have as much as time as I would like to work on this project, so I'm very happy to have someone else pitching in.

I think support for JavaScript will be a bit more challenging than CSS. It will probably involve something like Babel to transform the code into an AST and from there try to match features against compat data.

I haven't explored this option yet, to be completely honest, because I wanted to get great support for CSS first, before venturing into JavaScript. In any case, I'm more than happy to look at a possible implementation you may come up with, and to guide and help in any way I can.

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

2 participants