update readme

[skip ci]
This commit is contained in:
Nolan Lawson 2016-04-29 16:25:38 +00:00
parent 3a7a3f38de
commit b22c872426

View File

@ -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