This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Commit 803281d
committed
image-cors: Allow canvas images to respect the cross-origin attribute.
Currently, if a canvas image is hosted on a different server from
which the canvas is served, a security error will be thrown by
the browser. The change made will respect the cross-origin
attribute if its set on the image.1 parent 7ba34c9 commit 803281d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| 140 | + | |
| 141 | + | |
135 | 142 | | |
136 | 143 | | |
137 | 144 | | |
| |||
0 commit comments