mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 10:51:45 +02:00
lint, add to changelog
This commit is contained in:
@@ -103,7 +103,10 @@ export function coreValidator(context) {
|
||||
_headCache.queue = [];
|
||||
|
||||
// cancel deferred work and reject any pending promise
|
||||
Object.keys(_deferredRIC).forEach(key => {window.cancelIdleCallback(key); _deferredRIC[key](); });
|
||||
Object.keys(_deferredRIC).forEach(key => {
|
||||
window.cancelIdleCallback(key);
|
||||
_deferredRIC[key]();
|
||||
});
|
||||
_deferredRIC = {};
|
||||
_deferredST.forEach(window.clearTimeout);
|
||||
_deferredST.clear();
|
||||
|
||||
Reference in New Issue
Block a user