Skip to content

Commit

Permalink
Add notice about removal from the DOM spec
Browse files Browse the repository at this point in the history
Resolves #7
  • Loading branch information
barberboy committed Oct 4, 2017
1 parent d12ce3d commit d68519a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
@@ -1,6 +1,16 @@
DOM Elements
=============

> ⚠️ Relying on Element#query and Element#queryAll is somewhat risky since they’ve been
temporarily [removed from the current DOM Standard] due to significant implementation issues.
See related discussions on [Stack Overflow] and the [WHATWG's DOM spec] repository on GitHub,
and use at your own risk.


[Removed from the current DOM Standard]: https://github.com/whatwg/dom/commit/10b6cf1ba02806220d5461a3bdb7939728b73635#commitcomment-16881028
[Stack Overflow]: https://stackoverflow.com/questions/23269785/whats-the-difference-between-queryall-and-queryselectorall/38245620#38245620
[WHATWG's DOM spec]: https://github.com/whatwg/dom/issues/39#issuecomment-231056316

DOM Elements is a polyfill that allows you to use the `.query` and `.queryAll`
methods newly added to [the DOM Standard]. `queryAll` returns an instance of the
new [Elements class] which extends Array, allowing you to use map, reduce,
Expand Down

0 comments on commit d68519a

Please sign in to comment.