Compare commits

...

8 Commits

Author SHA1 Message Date
Peli de Halleux
0d0a68122d 0.7.40 2017-01-19 00:19:15 -08:00
Peli de Halleux
4ad660568e Bump pxt-core to 0.10.10 2017-01-19 00:19:14 -08:00
Peli de Halleux
58e82a571d 0.7.39 2017-01-18 16:14:11 -08:00
Peli de Halleux
e629b866d5 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-01-18 16:13:08 -08:00
Peli de Halleux
f0ac2b7a05 fixing debug message 2017-01-18 16:12:58 -08:00
Sam El-Husseini
e3c8db28e4 0.7.38 2017-01-18 14:48:43 -08:00
Sam El-Husseini
2c0e19a120 Bump pxt-core to 0.10.9 2017-01-18 14:48:42 -08:00
Peli de Halleux
595eb788b2 removed console.log for pxt.debug 2017-01-17 16:51:21 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "pxt-microbit", "name": "pxt-microbit",
"version": "0.7.37", "version": "0.7.40",
"description": "micro:bit target for PXT", "description": "micro:bit target for PXT",
"keywords": [ "keywords": [
"JavaScript", "JavaScript",
@@ -36,6 +36,6 @@
"semantic-ui-less": "^2.2.4" "semantic-ui-less": "^2.2.4"
}, },
"dependencies": { "dependencies": {
"pxt-core": "0.10.8" "pxt-core": "0.10.10"
} }
} }

View File

@@ -28,7 +28,7 @@ namespace pxsim {
this.data = data; this.data = data;
} }
public print() { public print() {
console.log(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`) // console.debug(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`)
} }
public get(x: number, y: number): number { public get(x: number, y: number): number {
if (x < 0 || x >= this.width || y < 0 || y >= 5) return 0; if (x < 0 || x >= this.width || y < 0 || y >= 5) return 0;