lib/expression-api/PublicCollection.js
function(oldItem, newItem) {
      if(data.operations) {
        for(var i = 0; i < data.operations.length; i++) {
          var operation = data.operations[i];
          if(newItem && newItem[operation.field] !== undefined || oldItem && oldItem[operation.field] !== undefined) {
            opsToolbox[operation.operation].recompute(operations[operation.field], operation, oldItem, newItem);
          }
        }
      }
    }
function(oldItem, newItem) {
      if(data.operations) {
        for(var i = 0; i < data.operations.length; i++) {
          var operation = data.operations[i];
          if(newItem && newItem[operation.field] !== undefined || oldItem && oldItem[operation.field] !== undefined) {
            opsToolbox[operation.operation].recompute(operations[operation.field], operation, oldItem, newItem);
          }
        }
      }
    }
function ( oldItem , newItem ) { if ( data . operations ) { for ( var i = 0 ; i < data . operations . length ; i ++ ) { var operation = data . operations [ i ] ; if ( newItem && newItem [ operation . field ] !== undefined || oldItem && oldItem [ operation . field ] !== undefined ) { opsToolbox [ operation . operation ] . recompute ( operations [ operation . field ] , operation , oldItem , newItem ) ; } } } }
PRIVATE Methods Recompute the operations results
PRIVATE Methods Recompute the operations results