diff options
author | 迷渡 <justjavac@gmail.com> | 2019-06-18 21:24:20 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-18 06:24:20 -0700 |
commit | d5e80ad67744bbd2646af0a0abe27cc38205f990 (patch) | |
tree | 9f2dfebbe9b4ba5e992b4703c4e22650f6715d3e /js/globals.ts | |
parent | 76d51b0f9a4bd0ff86150d0dfa78df7c8410b7ea (diff) |
fix clearTimeout.name / clearInterval.name (#2540)
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/globals.ts b/js/globals.ts index 2c8a25be3..1d33f6523 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -63,8 +63,8 @@ console[consoleTypes.isConsoleInstance] = true; window.atob = textEncoding.atob; window.btoa = textEncoding.btoa; window.fetch = fetchTypes.fetch; -window.clearTimeout = timers.clearTimer; -window.clearInterval = timers.clearTimer; +window.clearTimeout = timers.clearTimeout; +window.clearInterval = timers.clearInterval; window.console = console; window.setTimeout = timers.setTimeout; window.setInterval = timers.setInterval; |