git @ Cat's Eye Technologies yoob.js / 0d881ab
Eke out another li'l bug. Chris Pressey 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1414 this.init = function(cfg) {
1515 this.pf = cfg.playfield;
1616 this.canvas = cfg.canvas;
17 this.ctx = canvas.getContext('2d');
17 this.ctx = this.canvas.getContext('2d');
1818 this.cursors = cfg.cursors || [];
1919 this.fixedPosition = !!cfg.fixedPosition;
2020 this.fixedSizeCanvas = !!cfg.fixedSizeCanvas;