mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
refactor
This commit is contained in:
@@ -88,11 +88,9 @@ export function createMap(names) {
|
||||
"IterationCallback",
|
||||
];
|
||||
|
||||
Object.keys(apiList).forEach((key) => {
|
||||
if (TO_IGNORE.includes(key)) {
|
||||
delete apiList[key];
|
||||
}
|
||||
});
|
||||
for (const key of Object.keys(apiList))
|
||||
if (TO_IGNORE.includes(key)) delete apiList[key];
|
||||
|
||||
return apiList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user