ngokevin / angle

:clock430: A-Frame command-line tool for installing components and scaffolding templates.
https://www.npmjs.com/package/angle
MIT License
81 stars 20 forks source link

add crossorigin attributes to <img />s to suppress warnings #35

Closed johnrees closed 7 years ago

johnrees commented 7 years ago

I was getting the following warning in console and this patch seems to have fixed it.

core:a-assets:warn Cross-origin element (e.g., <img>) was requested without `crossorigin` set. A-Frame will re-request the asset with `crossorigin` attribute set. Please set `crossorigin` on the element (e.g., <img crossorigin="anonymous">) 

screen shot 2017-07-13 at 11 57 30