code: function( list, searchData ) {
  		addIDs(list);
  		var c, parts, part, p, fullName;
  		for ( var name in list ) {
  			if (list.hasOwnProperty(name)){
  				c = list[name];
  				if ( c.type == 'script' ) {
  					continue;
  				}
  				//break up into parts
  				fullName = c.name;
  				searchData[fullName] = {
  					name: c.name,
  					type: c.type
  				};
  
  				if ( c.id !== undefined ) {
  					searchData[fullName].id = c.id
  				}
  				if ( c.title ) {
  					searchData[fullName].title = c.title
  				}
  				if ( c.tags ) {
  					searchData[fullName].tags = c.tags
  				}
  				if ( c.hide ) {
  					searchData[fullName].hide = c.hide
  				}
  				if ( c.parent ) {
  					searchData[fullName].parent = c.parent
  				}
  				if ( c.order != null) {
  					searchData[fullName].order = c.order;
  				}
  				//if ( c.parent ) {
  				//	searchData[fullName].parent = c.parent
  				//}
  				//parts = fullName.split(".");
  				/*for ( p = 0; p < parts.length; p++ ) {
  					part = parts[p].toLowerCase();
  					if ( part == "jquery" ){
  						continue;
  					}
  					addTagToSearchData(fullName, part, searchData)
  				}
  				//now add tags if there are tags
  				if ( c.tags ) {
  					for ( var t = 0; t < c.tags.length; t++ ){
  						addTagToSearchData(fullName, c.tags[t], searchData);
  					}
  				}*/
  			}
  		}
  	}
docs: goes through list and adds to search data