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

proto.load中加载css文件的逻辑,是否有一点小瑕疵 #9

Open
PetersonLian opened this issue Aug 23, 2016 · 0 comments
Open

Comments

@PetersonLian
Copy link

PetersonLian commented Aug 23, 2016

https://github.com/scrat-team/scrat.js/blob/master/scrat.js#L290
是否应该加入node.sheet.cssRules的逻辑
是否更好。
至于cssRules属性,我是从网上得来的结果,说有些浏览器,没有sheet,得用cssRules
原文
当然,上贴中的说法我没研究过,不知道是否就是cssRules更好

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

1 participant