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

Method onLoaded

app/views/editor/article/ArticleEditView.js:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 onLoaded () {
50 super.onLoaded()
51 this.buildTreema()
52 return this.listenTo(this.article, 'change', () => {
53 this.article.updateI18NCoverage()
54 return this.treema.set('/', this.article.attributes)
55 })
56 }
57
58 buildTreema () {
59 if ((this.treema != null) || (!this.article.loaded)) { return }

Callers

nothing calls this directly

Calls 3

buildTreemaMethod · 0.95
updateI18NCoverageMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected