summaryrefslogtreecommitdiff
path: root/timers.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-21 18:53:53 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-21 18:53:53 -0400
commit9a6621659937c55c6005a1fa6ce9641a4ceff385 (patch)
tree723763263c610069635db80252d9e638a28052b0 /timers.ts
parent8e2e17cdbe02847b19d8bc2002ba713d18e291b9 (diff)
Add globals.ts
Diffstat (limited to 'timers.ts')
-rw-r--r--timers.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/timers.ts b/timers.ts
index ed84c00e9..6603b3d16 100644
--- a/timers.ts
+++ b/timers.ts
@@ -1,4 +1,3 @@
-import { _global } from "./util";
import { sendMsgFromObject } from "./os";
let nextTimerId = 1;
@@ -32,7 +31,6 @@ export function setTimeout(cb: TimerCallback, duration: number): number {
});
return timer.id;
}
-_global["setTimeout"] = setTimeout;
export function timerReady(id: number, done: boolean): void {
const timer = timers.get(id);