graph-object.js
/**
   Use a delta array to assert the new state of the target instance.
   nb. also undefined values, could restrict to null
   */
Use a delta array to assert the new state of the target instance.
nb. also undefined values, could restrict to null
Use a delta array to assert the new state of the target instance . nb . also undefined values could restrict to null
rollforward(deltas = this._deltas) {
    var self = this._self;
    console.log('rollforward', self, deltas);
    Object.entries(deltas).forEach(function([name, values]) {
      var value = values[0];
        self[name] = value;
    });
    this._deltas = {};
    return (deltas);
  }
rollforward ( deltas = this . _deltas ) { var self = this . _self ; console . log ( 'rollforward' , self , deltas ) ; Object . entries ( deltas ) . forEach ( function ( [ name , values ] ) { var value = values [ 0 ] ; self [ name ] = value ; } ) ; this . _deltas = { } ; return ( deltas ) ; }
Use a delta array to assert the new state of the target instance.
Use a delta array to assert the new state of the target instance .
// console.log('rollforward', name, values); // console.log('rollforward.end', this);