mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 07:14:57 -05:00
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
Fixes gh-1693
7 lines
143 B
Plaintext
7 lines
143 B
Plaintext
{
|
|
"preset": "jquery",
|
|
|
|
"excludeFiles": [ "external", "src/intro.js", "src/outro.js",
|
|
"test/node_smoke_tests/lib/ensure_iterability.js" ]
|
|
}
|