Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make jQuery collections for-of-able #1693

Closed
Assignees
mgol
Labels
Milestone
@simevidas

Description

@simevidas

Chrome 38 added support for ES6for-of. I'm proposing that jQuery collections are made compatible with this statement, which can be achieved with this line (fromdiscussion on Twitter):

jQuery.prototype[Symbol.iterator]=Array.prototype.values;

Live demo:http://jsbin.com/movuxu/1/edit (view in Chrome)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp