lib/evaluation_keywords.js
function resolvePendingRefs(data, dataPath) {
  dataPath = dataPath.replace(/^\/script/, '');
  this.evaluatedRefs[dataPath] = true;
  var ref = this.pendingRefs[dataPath];
  if (ref) ref.resolve();
  return true;
}
function resolvePendingRefs(data, dataPath) {
  dataPath = dataPath.replace(/^\/script/, '');
  this.evaluatedRefs[dataPath] = true;
  var ref = this.pendingRefs[dataPath];
  if (ref) ref.resolve();
  return true;
}
function resolvePendingRefs ( data , dataPath ) { dataPath = dataPath . replace ( / ^\/script / , '' ) ; this . evaluatedRefs [ dataPath ] = true ; var ref = this . pendingRefs [ dataPath ] ; if ( ref ) ref . resolve ( ) ; return true ; }
Validation function for custom validation keyword resolvePendingRefs.
It marks the current path as evaluated and resolves pending references.
@this   Evaluation
@param  {Object} data     Current script, not used
@param  {String} dataPath Current data path (JSON pointer)
@return {Boolean} validation result
Validation function for custom validation keyword resolvePendingRefs . It marks the current path as evaluated and resolves pending references .