Fix typo in error message.

This commit is contained in:
Jürg Lehni 2016-09-22 10:42:47 -04:00
parent b4f6cde203
commit dbe3aa42ec

View file

@ -33,7 +33,7 @@ var CanvasProvider = {
var ctx = canvas.getContext('2d');
if (!ctx) {
throw new Error('Canvas ' + canvas +
' is unable toprovide a 2D context.');
' is unable to provide a 2D context.');
}
// If they are not the same size, we don't need to clear them
// using clearRect and visa versa.