-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Replace $.each with Array.prototype.forEach. #1268
Comments
Comment by peterflynn We seem inconsistent about iterating jQuery objects, which are array-like but not plain vanilla arrays.
|
Comment by peterflynn One other note: we also have a few places where $.each() is used to iterate objects/maps, but the inner function misleadingly names its first argument "index," which suggests it's iterating an array when it's not. SpecRunnerUtils and BootstrapReporter both have this problem. |
Comment by peterflynn p.s. if these are too many changes to sneak in on the last day of the sprint, I think it's fine to push this out to sprint 12. Better to wait a couple more days and get everything fully cleaned up IMHO. |
Comment by RaymondLim
|
Comment by rwaldron I'm flattered 😊 that you thought of me |
Comment by pthiess :) |
Comment by peterflynn
|
Comment by RaymondLim Closing this pull request since we need to do other cleaning that Peter mentioned. |
Issue by RaymondLim
Friday Jul 20, 2012 at 17:06 GMT
Originally opened as adobe/brackets#1287
This fixes issue #1098
RaymondLim included the following code: https://github.com/adobe/brackets/pull/1287/commits
The text was updated successfully, but these errors were encountered: