message: Fix bug in cell code
diff: @@ -102,7 +102,7 @@ export class Cell extends map.CollaborativeMap implements ICell {
  };
  this.setCore(op.value);
  - this.submitLocalMessage(op);
  + this.submitIfAttached(op);
  }
  // Deletes the value from the cell.
  @@ -112,7 +112,7 @@ export class Cell extends map.CollaborativeMap implements ICell {
  };
  this.deleteCore();
  - this.submitLocalMessage(op);
  + this.submitIfAttached(op);
  }
  /**
  @@ -184,6 +184,14 @@ export class Cell extends map.CollaborativeMap implements ICell {
  }
  }
  + private submitIfAttached(message) {
  + if (this.isLocal()) {
  + return;
  + }
  +
  + this.submitLocalMessage(message);
  + }
  +
  private setCore(value: ICellValue) {
  this.data = value;
  this.emit("valueChanged", this.getCore());
  