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

Method saveChanges

app/core/treema-ext.js:869–873  ·  view source on GitHub ↗
(oldData)

Source from the content-addressed store, hash-verified

867 }
868
869 saveChanges (oldData) {
870 if (this.data == null) { this.data = {} }
871 if (this.nameInput) { this.data.name = this.nameInput.val() }
872 return this.data.complete = Boolean(this.taskCheckbox.prop('checked'))
873 }
874
875 destroy () {
876 this.taskCheckbox.off()

Callers 3

onTaskChangedMethod · 0.95
onEditInputBlurMethod · 0.95
saveChangesCallbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected