got started on jshint errors. still a lot to do

This commit is contained in:
Eric Rowell
2013-06-01 16:23:31 -07:00
parent c80cb57acb
commit 3f67cc8b60
3 changed files with 7 additions and 5 deletions

View File

@@ -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';