[System2] Change IIFE pattern

NEW
Assigned to

Status

Firefox OS
Gaia::System
4 years ago
a year ago

People

(Reporter: alive, Assigned: kgrandon)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

It's better to change from

(function(window) {
}(this));

to

(function(export) {
}(window));
(Assignee)

Comment 1

4 years ago
I believe export is a reserved JS keyword, so let's go with:

(function(exports) {
// ...
}(window));
(Assignee)

Updated

4 years ago
Assignee: nobody → kgrandon
You need to log in before you can comment on or make changes to this bug.