Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Changed: removed silent error skipping in engine.model.Document.
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Jun 24, 2016
1 parent 5030ee8 commit 86bc13a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/model/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ export default class Document {

this.version++;

if ( operation.delta ) {
// Right now I can't imagine operations without deltas, but let's be safe.
this.history.addDelta( operation.delta );
}
this.history.addDelta( operation.delta );

const batch = operation.delta && operation.delta.batch;

Expand Down

0 comments on commit 86bc13a

Please sign in to comment.