Skip to content

Commit 1546f50

Browse files
committed
Update tests for version 2.0 of the JavaScript Canvas to Blob function.
1 parent 0451593 commit 1546f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofE' +
2020
'ovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5PKsAAA7',
2121
imageUrl = 'data:image/gif;base64,' + b64Data,
22-
blob = window.canvasToBlob.dataURItoBlob(imageUrl);
22+
blob = window.dataURLtoBlob && window.dataURLtoBlob(imageUrl);
2323

2424
describe('Loading', function () {
2525

0 commit comments

Comments
 (0)