summaryrefslogtreecommitdiff
path: root/timers.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-23 11:31:53 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-23 11:31:53 -0400
commitbe4883722f00ac71d4586f2e80557fd2ba055d24 (patch)
treef0779d25dca30811a5344dc2ee4fcb6487f2639c /timers.ts
parent602ee0d5a1b092faf8f29cac0727a28640aac0b0 (diff)
Rename sendMsgFromObject to sendMsg
Diffstat (limited to 'timers.ts')
-rw-r--r--timers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/timers.ts b/timers.ts
index 117fde2a8..f5f039f1c 100644
--- a/timers.ts
+++ b/timers.ts
@@ -37,7 +37,7 @@ export function setTimeout(cb: TimerCallback, duration: number): number {
cb
};
timers.set(timer.id, timer);
- dispatch.sendMsgFromObject("timers", {
+ dispatch.sendMsg("timers", {
timerStart: {
id: timer.id,
interval: false,