spreadsheet/ruleJS.all.full.js
function (element) {
      var allDependencies = instance.matrix.getElementDependencies(element),
          id = element.getAttribute('id');

      allDependencies.forEach(function (refId) {
        var item = instance.matrix.getItem(refId);
        if (item && item.formula) {
          var refElement = document.getElementById(refId);
          calculateElementFormula(item.formula, refElement);
        }
      });
    }
function (element) {
      var allDependencies = instance.matrix.getElementDependencies(element),
          id = element.getAttribute('id');

      allDependencies.forEach(function (refId) {
        var item = instance.matrix.getItem(refId);
        if (item && item.formula) {
          var refElement = document.getElementById(refId);
          calculateElementFormula(item.formula, refElement);
        }
      });
    }
function ( element ) { var allDependencies = instance . matrix . getElementDependencies ( element ) , id = element . getAttribute ( 'id' ) ; allDependencies . forEach ( function ( refId ) { var item = instance . matrix . getItem ( refId ) ; if ( item && item . formula ) { var refElement = document . getElementById ( refId ) ; calculateElementFormula ( item . formula , refElement ) ; } } ) ; }
recalculate refs cell
@param {Element} element
recalculate refs cell