(statics)
| 204 | const CACHE = new Map(); |
| 205 | |
| 206 | function html(statics) { |
| 207 | let tmp = CACHE; |
| 208 | |
| 209 | tmp = evaluate( |
| 210 | createElement, |
| 211 | tmp.get(statics) || (tmp.set(statics, (tmp = build(statics))), tmp), |
| 212 | arguments, |
| 213 | [] |
| 214 | ); |
| 215 | |
| 216 | return tmp.length > 1 ? tmp : tmp[0]; |
| 217 | } |
| 218 | |
| 219 | export { html }; |