MCPcopy Create free account
hub / github.com/dailydotdev/apps / flash

Function flash

packages/webapp/components/world/engine/world.js:10323–10328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10321
10322let flashT=null;
10323function flash(){
10324 const f=$('flash');
10325 f.classList.add('on');
10326 clearTimeout(flashT);
10327 flashT=setTimeout(()=>f.classList.remove('on'),40);
10328}
10329
10330/* ---------------------------------------------------------------- the tour */
10331/* Everywhere worth flying over, in a ring. Ordered by BEARING around the middle

Callers 2

possessFunction · 0.85
unpossessFunction · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected