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

🐛 fix NodeList forEach method compatibility problem #965

Merged

Conversation

stoneChen
Copy link
Contributor

@stoneChen stoneChen commented Sep 28, 2020

Checklist
  • npm test passes
  • commit message follows commit guidelines
Description of change

const styleNodes = element.querySelectorAll('style') 返回的是NodeList,在chrome51才开始支持,兼容之。

image

Copy link
Member

@kuitos kuitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your nice work!

@kuitos kuitos merged commit 3217e2e into umijs:master Sep 29, 2020
kuitos pushed a commit that referenced this pull request May 29, 2022
…on (#965)

Co-authored-by: 陈师东 <chensd@servyou.com.cn>
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

Successfully merging this pull request may close these issues.

2 participants