Remove Debug Print Statements

This commit is contained in:
Marty Oehme 2018-07-24 15:41:26 +02:00
parent 46150e3c34
commit e0b1d760de
2 changed files with 0 additions and 6 deletions

View File

@ -15,7 +15,6 @@ var _start = () => html.window.requestAnimationFrame(eventloop);
// This is what ticks every frame of the animation.
void eventloop(currentTime) {
print(currentTime.toString());
ctx.setFillColorRgb(rng.nextInt(255), rng.nextInt(255), rng.nextInt(255));
int BRICKSIZE = (el.width ~/ GRIDNUM);
int x = rng.nextInt(GRIDNUM) * BRICKSIZE;
@ -50,7 +49,6 @@ void _demoSetup() {
_clear();
html.querySelector('#basic_start').onClick.listen((e) {
print('started');
_stop();
_start();
});

View File

@ -47,12 +47,10 @@ void main() {
void appendToDOM(Example example) {
querySelector(example.query).append(example.canvas);
example.canvas.onClick.forEach(activate);
print("${example.query} appended to DOM");
}
void removeFromDOM(Example example) {
querySelector(example.query).children.clear();
print("${example.query} removed from DOM");
}
void resetExample(Example ex) {
@ -87,8 +85,6 @@ void createPlaceholder(Example ex) {
// Draw Text
ctx.fillText(ex.name, c.x - ctx.measureText(ex.name).width / 2, c.y - 50);
print("${ex.query} placeholder created");
}
void activate(MouseEvent e) {