diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-21 18:53:53 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-21 18:53:53 -0400 |
commit | 9a6621659937c55c6005a1fa6ce9641a4ceff385 (patch) | |
tree | 723763263c610069635db80252d9e638a28052b0 /timers.ts | |
parent | 8e2e17cdbe02847b19d8bc2002ba713d18e291b9 (diff) |
Add globals.ts
Diffstat (limited to 'timers.ts')
-rw-r--r-- | timers.ts | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |