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

Method hasLocalChanges

app/models/CocoModel.js:341–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 }
340
341 hasLocalChanges () {
342 return this._revertAttributes && !_.isEqual(this.attributes, this._revertAttributes)
343 }
344
345 cloneNewMinorVersion () {
346 const newData = _.clone(this.attributes)

Callers 15

buildTranslationListMethod · 0.80
updateCampaignLevelsMethod · 0.80
onClickSaveButtonMethod · 0.80
onTreemaChangedMethod · 0.80
constructorMethod · 0.80
destroyMethod · 0.80
updatePatchButtonMethod · 0.80
getRenderDataMethod · 0.80
shouldSaveEntityMethod · 0.80
initializeMethod · 0.80
initializeMethod · 0.80
updatePatchButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected