(repeat)
| 10 | // indefinitely and leak texture-unit slots. |
| 11 | const VALID_REPEATS = new Set(["repeat", "repeat-x", "repeat-y", "no-repeat"]); |
| 12 | function normalizeRepeat(repeat) { |
| 13 | return VALID_REPEATS.has(repeat) ? repeat : "no-repeat"; |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * a basic texture cache object |
no test coverage detected