MCPcopy Index your code
hub / github.com/codecombat/codecombat / onIdleChanged

Function onIdleChanged

app/core/application.js:146–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 this.router = new Router()
145 this.userIsIdle = false
146 const onIdleChanged = to => { return () => { return Backbone.Mediator.publish('application:idle-changed', { idle: (this.userIsIdle = to) }) } }
147 // eslint-disable-next-line no-undef
148 this.idleTracker = new Idle({
149 onAway: onIdleChanged(true),

Callers 1

initializeFunction · 0.85

Calls 1

publishMethod · 0.80

Tested by

no test coverage detected