lib/panino/plugins/parsers/javascript/jsd/doc_type.js
function build_doc_map(docs) {
  var map = {};
  _.each(docs, function(tag) {
    if (map[tag["tagname"]])
      map[tag["tagname"]].push(tag);
    else
      map[tag["tagname"]] = new Array(tag);
  });
  return map;
}
function build_doc_map(docs) {
  var map = {};
  _.each(docs, function(tag) {
    if (map[tag["tagname"]])
      map[tag["tagname"]].push(tag);
    else
      map[tag["tagname"]] = new Array(tag);
  });
  return map;
}
function build_doc_map ( docs ) { var map = { } ; _ . each ( docs , function ( tag ) { if ( map [ tag [ "tagname" ] ] ) map [ tag [ "tagname" ] ] . push ( tag ) ; else map [ tag [ "tagname" ] ] = new Array ( tag ) ; } ) ; return map ; }
Build map of at-tags for quick lookup
Build map of at - tags for quick lookup