From b22c8724264989d31557b21ad32f5568cc5dc7ed Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 29 Apr 2016 16:25:38 +0000 Subject: [PATCH] update readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e383e5b..5cde281 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ blobUtil.imgSrcToDataURL('http://mysite.com/img.png').then(function (dataURL) { ```js blobUtil.imgSrcToDataURL('http://some-other-site.com/img.jpg', 'image/jpeg', - {crossOrigin: 'Anonymous'}).then(function (dataURL) { + 'Anonymous', 100).then(function (dataURL) { // success }).catch(function (err) { // error @@ -389,7 +389,7 @@ blobUtil.imgSrcToBlob('http://mysite.com/img.png').then(function (blob) { ```js blobUtil.imgSrcToBlob('http://some-other-site.com/img.jpg', 'image/jpeg', - {crossOrigin: 'Anonymous'}).then(function (blob) { + 'Anonymous', 100).then(function (blob) { // success }).catch(function (err) { // error