Update pxt/common-packages and fix build (#2323)

* fix build off of pxt/ and pxt-common-packages master

* check in generated files
This commit is contained in:
Joey Wunderlich
2019-07-30 09:45:32 -07:00
committed by GitHub
parent 98490b1c69
commit 34fd7e0600
9 changed files with 24 additions and 14 deletions

View File

@ -28,7 +28,7 @@ namespace pxsim {
this.data = data;
}
public print() {
console.debug(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`)
console.debug(`Image id:${this.id} size:${this.width}x${Image.height}`)
}
public get(x: number, y: number): number {
x = x >> 0;
@ -76,7 +76,6 @@ namespace pxsim {
export function createInternalImage(width: number): Image {
width = width >> 0;
let img = createImage(width)
pxsim.runtime.unregisterLiveObject(img, true)
return img
}