mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
got started on jshint errors. still a lot to do
This commit is contained in:
@@ -24,8 +24,9 @@
|
||||
|
||||
Kinetic.Canvas.prototype = {
|
||||
init: function(config) {
|
||||
var config = config || {},
|
||||
width = config.width || 0,
|
||||
config = config || {};
|
||||
|
||||
var width = config.width || 0,
|
||||
height = config.height || 0,
|
||||
pixelRatio = config.pixelRatio || _pixelRatio,
|
||||
contextType = config.contextType || '2d';
|
||||
|
||||
Reference in New Issue
Block a user