mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix typo in error message.
This commit is contained in:
parent
b4f6cde203
commit
dbe3aa42ec
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue