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! |
||
|---|---|---|
| .. | ||
| HangerSpinner.js | ||
| HTML5Badge.js | ||
| ItemCard.js | ||
| MarkdownAndSafeHTML.js | ||
| OutfitMovieLayer.js | ||
| OutfitPreview.js | ||
| OutfitThumbnail.js | ||
| PaginationToolbar.js | ||
| SpeciesColorPicker.js | ||
| SquareItemCard.js | ||
| useCurrentUser.js | ||
| useOutfitAppearance.js | ||
| useRequireLogin.js | ||
| WIPCallout.js | ||