bump pxt + typescript (#78)

* bump pxt + typescript

* updated packagelock

* more fixes

* removed jquery

* bump pxt
This commit is contained in:
Peli de Halleux
2020-02-04 17:44:24 -08:00
committed by GitHub
parent 64161dea1b
commit cbe120bd56
4 changed files with 69 additions and 81 deletions

View File

@ -9,7 +9,7 @@
"newLine": "LF",
"sourceMap": false,
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
"types": ["jquery", "bluebird"],
"types": ["bluebird"],
"typeRoots": ["../node_modules/@types"]
}
}

View File

@ -128,7 +128,7 @@ namespace pxsim.visuals {
this.canvas.appendChild(pixel.el);
}
let color = colors[i];
pixel.setRgb(color);
pixel.setRgb([color[0], color[1], color[2]]);
}
//show the canvas if it's hidden