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

编码规范检测在处理包含svg标签的节点时会崩溃 #2

Open
yyjdelete opened this issue Jun 6, 2014 · 1 comment
Open

Comments

@yyjdelete
Copy link

SVG标签的className类型为SVGAnimatedString而非String, 不包含split方法,在执行时未做处理会导致异常

@zxlie
Copy link
Owner

zxlie commented Jun 6, 2014

好的,谢谢反馈,应该是进行DOM节点深度遍历,检测DOM嵌套深度的时候出现的问题,之前确实没有考虑过SVG节点的情况。抽空更新一下。

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