Fix spelling mistake in CanvasView#initialize. Closes #316.

This commit is contained in:
Jonathan Puckey 2013-10-25 17:15:54 +02:00
parent b4850b572a
commit 61ecf44140

View file

@ -60,7 +60,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
style.height = height + 'px';
// Now scale the context to counter the fact that we've manually
// scaled our canvas element.
cxt.scale(ratio, ratio);
ctx.scale(ratio, ratio);
}
View.call(this, canvas);
},