Fix function shortening for complex cases, like:
std::basic_ostream<A, B>& operator<< <A, B >(std::basic_ostream<A, B>&, T const&)
// Adapted from socorro
// Licence: same as socorro (MPL ?)
$(document).ready(function () {
$('.signature-column').append(' <a class="expand" href="#">[Expand]</a>');
$('.expand').click(function () {
$(".shortened-signature", $(this).parents('table')).each(function () {
$(this).text($(this).attr('title')).removeAttr('title');
$(this).removeClass("prettyprinted");
});
prettyPrint();
$(this).remove();
return false;
});
$('a[data-toggle="tooltip"]').tooltip();
prettyPrint();
});