mirror of
https://github.com/jquery/jquery.git
synced 2026-02-10 07:45:04 -05:00
Core: Make jQuery objects iterable
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
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"commitplease": "2.0.0",
|
||||
"core-js": "0.9.17",
|
||||
"grunt": "0.4.5",
|
||||
"grunt-babel": "5.0.1",
|
||||
"grunt-cli": "0.1.13",
|
||||
"grunt-compare-size": "0.4.0",
|
||||
"grunt-contrib-jshint": "0.11.2",
|
||||
|
||||
Reference in New Issue
Block a user