MCPcopy Create free account
hub / github.com/codecombat/codecombat / f

Method f

app/views/HomeView.js:386–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384
385 // scroll to the current hash, once everything in the browser is set up
386 const f = () => {
387 if (this.destroyed) { return }
388 try {
389 const link = $(document.location.hash)
390 if (link.length) {
391 return this.scrollToLink(document.location.hash, 0)
392 }
393 } catch (e) {
394 return console.warn(e) // Possibly a hash that would not match a valid element
395 }
396 }
397 return _.delay(f, 100)
398 }
399

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected