(color)
| 17092 | var liftedColorCount = 0; |
| 17093 | |
| 17094 | function liftColor(color) { |
| 17095 | if (typeof color !== 'string') { |
| 17096 | return color; |
| 17097 | } |
| 17098 | var liftedColor = liftedColorMap.get(color); |
| 17099 | if (!liftedColor) { |
| 17100 | liftedColor = lift(color, -0.1); |
| 17101 | if (liftedColorCount < 10000) { |
| 17102 | liftedColorMap.set(color, liftedColor); |
| 17103 | liftedColorCount++; |
| 17104 | } |
| 17105 | } |
| 17106 | return liftedColor; |
| 17107 | } |
| 17108 | |
| 17109 | function cacheElementStl(el) { |
| 17110 | if (!el.__hoverStlDirty) { |
no test coverage detected