Revert "Control event value in simulator (#343)"

This reverts commit 00f4c9cbb3.
This commit is contained in:
Sam El-Husseini 2017-01-13 18:04:38 -08:00
parent 00f4c9cbb3
commit d2726133a9
2 changed files with 1 additions and 9 deletions

View File

@ -36,6 +36,6 @@
"semantic-ui-less": "^2.2.4"
},
"dependencies": {
"pxt-core": "0.10.5"
"pxt-core": "0.10.4"
}
}

View File

@ -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 {