Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
save
Method · 0.95
revert
Method · 0.95
saveNewScenario
Method · 0.80
saveNewArticle
Method · 0.80
success
Method · 0.80
commitLevel
Method · 0.80
Calls
1
backupKey
Method · 0.95
Tested by
no test coverage detected