lib/grunt/ngDpTask/ngDpTask.js
function mergeResults(newResults) {
    if (newResults.definitions)
      results.definitions = utilApi.joinArray(results.definitions, newResults.definitions);

    if (newResults.dependencies)
      results.dependencies = utilApi.joinArray(results.dependencies, newResults.dependencies);

    if (newResults.module)
      results.module = newResults.module;
  }
function mergeResults(newResults) {
    if (newResults.definitions)
      results.definitions = utilApi.joinArray(results.definitions, newResults.definitions);

    if (newResults.dependencies)
      results.dependencies = utilApi.joinArray(results.dependencies, newResults.dependencies);

    if (newResults.module)
      results.module = newResults.module;
  }
function mergeResults ( newResults ) { if ( newResults . definitions ) results . definitions = utilApi . joinArray ( results . definitions , newResults . definitions ) ; if ( newResults . dependencies ) results . dependencies = utilApi . joinArray ( results . dependencies , newResults . dependencies ) ; if ( newResults . module ) results . module = newResults . module ; }
Merges results from sub expressions into results for the current expression.

@param {Object} newResults Sub expressions results
@param {Array} [newResults.definitions] The list of definitions in sub expression
@param {Array} [newResults.dependencies] The list of dependencies in sub expression
@param {String} [newResults.module] The name of the module the definitions belong to
Merges results from sub expressions into results for the current expression .