Address eslint errors.
This commit is contained in:
Родитель
0a7a420a4b
Коммит
d5e8fabf9f
|
@ -8,4 +8,4 @@ function forwardTimingEvent (timingEvent) {
|
|||
sendEventViaDocument(eventToContentScript);
|
||||
}
|
||||
|
||||
export default forwardTimingEvent;
|
||||
export default forwardTimingEvent;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import sendEventViaDocument from './sendEventViaDocument.js';
|
||||
|
||||
function sendSimpleMessage(action) {
|
||||
const event = new CustomEvent(action);
|
||||
sendEventViaDocument(event);
|
||||
function sendSimpleMessage (action) {
|
||||
const event = new CustomEvent(action);
|
||||
sendEventViaDocument(event);
|
||||
}
|
||||
|
||||
export default sendSimpleMessage;
|
||||
|
|
|
@ -10,7 +10,7 @@ function pollConditionAsync (isConditionMet, intervalMs, maxRetries) {
|
|||
resolve(true);
|
||||
} else {
|
||||
remaining--;
|
||||
|
||||
|
||||
if (remaining === 0) {
|
||||
clearInterval(interval);
|
||||
resolve(false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче