[System] fixes JSHint error for airplane_mode.js

RESOLVED FIXED

Status

Firefox OS
Gaia::System
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: gasolin@mozilla.com, Assigned: gasolin@mozilla.com)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 8582873 [details] [review]
[gaia] gasolin:issue-1147261 > mozilla-b2g:master
(Assignee)

Comment 2

3 years ago
Comment on attachment 8582873 [details] [review]
[gaia] gasolin:issue-1147261 > mozilla-b2g:master

fix don't make functions within a loop error by extracting closure function from the loop

https://jslinterrors.com/dont-make-functions-within-a-loop

treeherder green, on device quick settings test ok without error log
Attachment #8582873 - Flags: review?(alive)
Attachment #8582873 - Flags: review?(alive) → review+
(Assignee)

Comment 3

3 years ago
thanks!
Assignee: nobody → gasolin
Keywords: checkin-needed

Updated

3 years ago
Keywords: checkin-needed

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.