npm/bbopx/bbopx.js
function _add_table_row(item, color, prefix, suffix){
	//var rep_color = aid.color(item.category());
	var out_rep = bbopx.noctua.type_to_span(item, color);
	if( prefix ){ out_rep = prefix + out_rep; }
	if( suffix ){ out_rep = out_rep + suffix; }
	var trstr = null;
	if( color ){
	    trstr = '<tr class="bbop-mme-stack-tr" ' +
		'style="background-color: ' + color +
		';"><td class="bbop-mme-stack-td">' + out_rep + '</td></tr>';   
	}else{
	    trstr = '<tr class="bbop-mme-stack-tr">' +
		'<td class="bbop-mme-stack-td">' + out_rep + '</td></tr>';   
	}
	enode_stack_table.add_to(trstr);
    }
function _add_table_row(item, color, prefix, suffix){
	//var rep_color = aid.color(item.category());
	var out_rep = bbopx.noctua.type_to_span(item, color);
	if( prefix ){ out_rep = prefix + out_rep; }
	if( suffix ){ out_rep = out_rep + suffix; }
	var trstr = null;
	if( color ){
	    trstr = '<tr class="bbop-mme-stack-tr" ' +
		'style="background-color: ' + color +
		';"><td class="bbop-mme-stack-td">' + out_rep + '</td></tr>';   
	}else{
	    trstr = '<tr class="bbop-mme-stack-tr">' +
		'<td class="bbop-mme-stack-td">' + out_rep + '</td></tr>';   
	}
	enode_stack_table.add_to(trstr);
    }
function _add_table_row ( item , color , prefix , suffix ) { //var rep_color = aid.color(item.category()); var out_rep = bbopx . noctua . type_to_span ( item , color ) ; if ( prefix ) { out_rep = prefix + out_rep ; } if ( suffix ) { out_rep = out_rep + suffix ; } var trstr = null ; if ( color ) { trstr = '<tr class="bbop-mme-stack-tr" ' + 'style="background-color: ' + color + ';"><td class="bbop-mme-stack-td">' + out_rep + '</td></tr>' ; } else { trstr = '<tr class="bbop-mme-stack-tr">' + '<td class="bbop-mme-stack-td">' + out_rep + '</td></tr>' ; } enode_stack_table . add_to ( trstr ) ; }
General function for adding type information to stack.
General function for adding type information to stack .