code: function postCanvasReady(puzzle){
  	var pc = puzzle.painter, opt = puzzle.preInitCanvasInfo;
  	
  	if(puzzle.preInitCanvasInfo){
  		if(puzzle.instancetype!=='viewer'){
  			setCanvasEvents(puzzle);
  		}
  		else{
  			pc.outputImage = true;
  		}
  		if(!pc.canvasWidth || !pc.canvasHeight){
  			if(!!opt.width && !!opt.height){
  				pc.resizeCanvas(opt.width, opt.height);
  			}
  			else if(!!opt.cellsize){
  				pc.resizeCanvasByCellSize(opt.cellsize);
  			}
  		}
  		delete puzzle.preInitCanvasInfo;
  	}
  	
  	pc.initCanvas();
  }
docs: --------------------------------------------------------------------------- postCanvasReady()  Canvas設定＆ready後の初期化処理を行う ---------------------------------------------------------------------------