JavaScript crossorigin vs crossOrigin attribute #24
mozfreddyb
commented
Jan 7, 2016
Yeah, it would be worthwhile adding an example (or changing an example) that adds the SRI programmatically using JavaScript, just to slip this in.
Would you be willing to supply a pull request, @kravietz?
This was referenced Jan 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's probably worth highlighting that when loading resources programmatically (see example below) the cross-origin attribute is crossorigin in HTML but crossOrigin in DOM per HTM5 spec.