tasks/jsonld/js/jsonld.js
function nameBlankNodes(unique, duplicates, unnamed) {
    // name unique bnodes in sorted hash order
    var named = false;
    var hashes = Object.keys(unique).sort();
    for(var i = 0; i < hashes.length; ++i) {
      var bnode = unique[hashes[i]];
      namer.getName(bnode);
      named = true;
    }

    // continue to hash bnodes if a bnode was assigned a name
    if(named) {
      hashBlankNodes(unnamed);
    }
    // name the duplicate hash bnodes
    else {
      nameDuplicates(duplicates);
    }
  }
function nameBlankNodes(unique, duplicates, unnamed) {
    // name unique bnodes in sorted hash order
    var named = false;
    var hashes = Object.keys(unique).sort();
    for(var i = 0; i < hashes.length; ++i) {
      var bnode = unique[hashes[i]];
      namer.getName(bnode);
      named = true;
    }

    // continue to hash bnodes if a bnode was assigned a name
    if(named) {
      hashBlankNodes(unnamed);
    }
    // name the duplicate hash bnodes
    else {
      nameDuplicates(duplicates);
    }
  }
function nameBlankNodes ( unique , duplicates , unnamed ) { // name unique bnodes in sorted hash order var named = false ; var hashes = Object . keys ( unique ) . sort ( ) ; for ( var i = 0 ; i < hashes . length ; ++ i ) { var bnode = unique [ hashes [ i ] ] ; namer . getName ( bnode ) ; named = true ; } // continue to hash bnodes if a bnode was assigned a name if ( named ) { hashBlankNodes ( unnamed ) ; } // name the duplicate hash bnodes else { nameDuplicates ( duplicates ) ; } }
names unique hash bnodes
names unique hash bnodes