outsourced all types (except for object type)

This commit is contained in:
DadaMonad
2015-02-27 18:01:21 +00:00
parent c663230c1b
commit 96ed8b0f98
33 changed files with 94032 additions and 63591 deletions

View File

@@ -369,7 +369,7 @@ module.exports = ()->
# (e.g. the following operation order must be invertible :
# Insert refers to content, then the content is deleted)
# Therefore, we have to do this in the cleanup
if @content instanceof ops.Operation and not deleted_earlyer
if @content instanceof ops.Operation
@content.referenced_by--
if @content.referenced_by <= 0 and not @content.is_deleted
@content.applyDelete()