MCPcopy Index your code
hub / github.com/codecombat/codecombat / clearBackup

Method clearBackup

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

Source from the content-addressed store, hash-verified

335 }
336
337 clearBackup () {
338 return storage.remove(this.backupKey())
339 }
340
341 hasLocalChanges () {
342 return this._revertAttributes && !_.isEqual(this.attributes, this._revertAttributes)

Callers 6

saveMethod · 0.95
revertMethod · 0.95
saveNewScenarioMethod · 0.80
saveNewArticleMethod · 0.80
successMethod · 0.80
commitLevelMethod · 0.80

Calls 1

backupKeyMethod · 0.95

Tested by

no test coverage detected