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

@ -5,7 +5,7 @@ namespace pxsim.input {
b.usesButtonAB = true;
runtime.queueDisplayUpdate();
}
pxt.registerWithDal(button, DAL.MICROBIT_BUTTON_EVT_CLICK, handler);
pxtcore.registerWithDal(button, DAL.MICROBIT_BUTTON_EVT_CLICK, handler);
}
export function buttonIsPressed(button: number): boolean {