Remove minor TODOs

This commit is contained in:
Daniel Gasienica 2018-02-14 12:03:41 -05:00
parent 0af186e118
commit 67be916a83
1 changed files with 0 additions and 4 deletions

View File

@ -106,8 +106,6 @@
var blob;
do {
i = i - 1;
// TODO: Replace with native `Canvas::toBlob`:
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob
blob = window.dataURLToBlobSync(
canvas.toDataURL('image/jpeg', quality)
);
@ -251,8 +249,6 @@
crop: true, minWidth: size, minHeight: size
});
// TODO: Replace with native `Canvas::toBlob`:
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob
var blob = window.dataURLToBlobSync(canvas.toDataURL('image/png'));
resolve(blob);