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

能说说自动转换的原理吗,如何保证转换不会出错? #34

Closed
fancyboynet opened this issue Jul 10, 2015 · 1 comment
Closed

Comments

@fancyboynet
Copy link
Contributor

No description provided.

@2betop
Copy link
Contributor

2betop commented Jul 10, 2015

不能保证不出错, 不过大部分的 case 都没有报错

思路:
js => ast => transform => js

源码:
https://github.com/fis-components/components/blob/master/convert.js

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