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

Method initialize

app/views/teachers/ResourceHubView.js:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 getTitle () { return $.i18n.t('teacher.resource_hub') }
24
25 initialize () {
26 return __guard__(me.getClientCreatorPermissions(), x => x.then(() => (typeof this.render === 'function' ? this.render() : undefined)))
27 }
28
29 onClickResourceLink (e) {
30 const link = __guard__($(e.target).closest('a'), x => x.attr('href'))

Callers

nothing calls this directly

Calls 3

__guard__Function · 0.70
renderMethod · 0.45

Tested by

no test coverage detected