mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
2fa3bac7eb
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
(partially cherry-picked from
|
||
---|---|---|
.. | ||
data | ||
integration | ||
unit | ||
.jshintrc | ||
delegatetest.html | ||
hovertest.html | ||
index.html | ||
jquery.js | ||
localfile.html | ||
networkerror.html | ||
promises-aplus-adapter.js | ||
readywait.html | ||
xhtml.php |