1
0
Fork 0
forked from OpenNeo/impress
impress/src
Matchu 92001d514a Refactor crossOrigin handling for image loading
In my last change, I didn't try to change the APIs too much, and kept the concept of `crossOrigin` running through `getBestImageUrlForLayer`.

Now, I've moved the `safeImageUrl` call _outside_ `getBestImageUrlForLayer`, by putting it at the call site: We now call `safeImageUrl` from `loadImage` (which needs to know the `crossOrigin` flag anyway!), and at the `img` tag call site.

This simplifies all of the call sites a lot, I think!
2021-06-20 10:54:03 -07:00
..
app Refactor crossOrigin handling for image loading 2021-06-20 10:54:03 -07:00
server Fix private lists page 2021-06-18 17:25:05 -07:00
shared Fix UC outfit images 2021-05-25 17:02:29 -07:00
index.js inline index.css, omit unused fonts, preload hints 2020-05-18 00:56:46 -07:00
react-app-env.d.ts Finally finish TS setup, build works! 2021-02-02 21:38:57 -08:00