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

Method buildValueForDisplay

app/core/treema-ext.js:842–847  ·  view source on GitHub ↗
(valEl)

Source from the content-addressed store, hash-verified

840 }
841
842 buildValueForDisplay (valEl) {
843 this.taskCheckbox = $('<input type="checkbox">').prop('checked', this.data.complete)
844 const task = $(`<span>${this.data.name}</span>`)
845 valEl.append(this.taskCheckbox).append(task)
846 return this.taskCheckbox.on('change', this.onTaskChanged)
847 }
848
849 buildValueForEditing (valEl, data) {
850 this.nameInput = this.buildValueForEditingSimply(valEl, data.name)

Callers 1

buildValueForDisplayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected