Rename pxsim.pxt to pxsim.pxtcore

This commit is contained in:
Michal Moskal
2016-09-01 13:06:03 +01:00
parent a8b427fd89
commit ef7fdc2ef7
5 changed files with 8 additions and 8 deletions

View File

@ -147,7 +147,7 @@ namespace pxsim.control {
}
export function onEvent(id: number, evid: number, handler: RefAction) {
pxt.registerWithDal(id, evid, handler)
pxtcore.registerWithDal(id, evid, handler)
}
export function raiseEvent(id: number, evid: number, mode: number) {
@ -156,7 +156,7 @@ namespace pxsim.control {
}
}
namespace pxsim.pxt {
namespace pxsim.pxtcore {
export function registerWithDal(id: number, evid: number, handler: RefAction) {
board().bus.listen(id, evid, handler);
}