mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 08:38:09 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
bbca17404f
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ class CocoModel extends Backbone.Model
|
|||
set: (attributes, options) ->
|
||||
delete @attributesWithDefaults unless attributes is 'thangs' # unless attributes is 'thangs': performance optimization for Levels keeping their cache.
|
||||
inFlux = @loading or not @loaded
|
||||
console.error @type(), @get('name'), 'setting', attributes, options
|
||||
@markToRevert() unless inFlux or @_revertAttributes or @project or options?.fromMerge
|
||||
res = super attributes, options
|
||||
@saveBackup() if @saveBackups and (not inFlux)
|
||||
|
|
Loading…
Reference in a new issue