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

Method initialize

app/views/artisans/ThangTasksView.js:35–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 initialize () {
36 this.processThangs = _.debounce(this.processThangs, 250)
37
38 this.thangs = new ThangTypes()
39 this.listenTo(this.thangs, 'sync', this.onThangsLoaded)
40 return this.supermodel.trackRequest(this.thangs.fetch({
41 data: {
42 project: 'name,tasks,slug'
43 }
44 }))
45 }
46
47 onThangsLoaded (thangCollection) {
48 return this.processThangs()

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected