Skip to content

Commit 6b5071c

Browse files
timdreamgreggman
authored andcommitted
Minor typo: crossDomain -> crossOrigin
1 parent 5a3e7d1 commit 6b5071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webgl/lessons/webgl-cors-permission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ it to `anonymous`.
9898

9999
Why don't we just always see that permission? Because asking for permission takes 2 HTTP requests so it's
100100
slower than not asking. If we know we're on the same domain or we know we won't use the image for anything
101-
except img tags and or canvas2d then we don't want to set `crossDomain` because it
101+
except img tags and or canvas2d then we don't want to set `crossOrigin` because it
102102
will make things slower.
103103

104104
We can make a function that checks if the image we're trying to load is on the same origin and if

0 commit comments

Comments
 (0)