Skip to content

Commit 709f7f3

Browse files
committed
Update readme.md
1 parent 71680e1 commit 709f7f3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,14 @@ When use canvas drawer, Canvas toDataURL function does not allow load cross doma
660660
661661
Configure the `crossOrigin` attribute([crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)) for the image. Make sure that CORS is configured on the Server side.
662662
663-
```JS
664-
{
665-
...
666-
// String which specifies the CORS setting to use when retrieving the image. null means that the crossOrigin attribute is not set. 'anonymous', null.
667-
crossOrigin : 'anonymous',
668-
...
669-
}
670-
```
663+
```JS
664+
{
665+
...
666+
// String which specifies the CORS setting to use when retrieving the image. null means that the crossOrigin attribute is not set. 'anonymous', null.
667+
crossOrigin : 'anonymous',
668+
...
669+
}
670+
```
671671
672672
- Option 2:
673673

0 commit comments

Comments
 (0)