src/gfx/canvas.js
function(width, height) {
    if (width === this._width && height === this._height) {
      return;
    }
    this._resize = true;
    this._width = width;
    this._height = height;
  }
function(width, height) {
    if (width === this._width && height === this._height) {
      return;
    }
    this._resize = true;
    this._width = width;
    this._height = height;
  }
function ( width , height ) { if ( width === this . _width && height === this . _height ) { return ; } this . _resize = true ; this . _width = width ; this . _height = height ; }
tells the canvas to resize. The resize does not happen immediately but is delayed until the next redraw. This avoids flickering
tells the canvas to resize . The resize does not happen immediately but is delayed until the next redraw . This avoids flickering