Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ handleEvent
Function
handleEvent
test/app/lib/surface/SingularSprite.spec.js:33–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
let
ticks = 0;
32
const
listener = {
33
handleEvent() {
34
if
(ticks >= 100) {
return
; }
35
ticks += 1;
36
return
stage.update();
37
}
38
};
39
return
createjs.Ticker.addEventListener(
"tick"
, listener);
40
};
Callers
nothing calls this directly
Calls
1
update
Method · 0.45
Tested by
no test coverage detected