From d2726133a9ee341809c7c133a82a8b1d98fb780f Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Fri, 13 Jan 2017 18:04:38 -0800 Subject: [PATCH] Revert "Control event value in simulator (#343)" This reverts commit 00f4c9cbb3881ddb50b398ee759e2365db75cdcc. --- package.json | 2 +- sim/state/misc.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/package.json b/package.json index 51578e6b..10efaf23 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,6 @@ "semantic-ui-less": "^2.2.4" }, "dependencies": { - "pxt-core": "0.10.5" + "pxt-core": "0.10.4" } } diff --git a/sim/state/misc.ts b/sim/state/misc.ts index 2d8b2120..6f5a2237 100644 --- a/sim/state/misc.ts +++ b/sim/state/misc.ts @@ -65,14 +65,6 @@ namespace pxsim.control { // TODO mode? board().bus.queue(id, evid) } - - export function eventValue(): number | string { - return board().bus.getLastEvent(); - } - - export function eventTimestamp(): number { - return board().bus.getLastEventTime(); - } } namespace pxsim.pxtcore {