Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hrjakobsen committed Feb 20, 2024
1 parent 1b6da8a commit 97f3920
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/injected.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global document, CustomEvent, Event */
/* global document, CustomEvent, window */

document.addEventListener("slext:initializeStoreWatchers", () => {
window.overleaf?.unstable.store.watch(
Expand Down
1 change: 0 additions & 1 deletion app/scripts/slext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Dispatcher } from "./dispatcher";
import { File, FileUtils } from "./file";
import * as $ from "jquery";
import { Service } from "typedi";
import { Logger } from "./logger";
import { Utils } from "./utils";

@Service()
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TabModule {

function waitForFiles() {
let checks = 100;
return new Promise<void>((resolve, reject) => {
return new Promise<void>((resolve) => {
const interval = setInterval(() => {
if (slext.getFiles().length) {
clearInterval(interval);
Expand Down

0 comments on commit 97f3920

Please sign in to comment.