Let me break it down:
$tip.find('.popover-title')[ $.type(title) == 'object' ? 'append' : 'html' ](title)
It can be divided into:
var found = $tip.find('.popover-title'); found[$.type(title) == 'object' ? 'append' : 'html'](title);
And further:
var found = $tip.find('.popover-title'); if ($.type(title) == 'object') { found['append'](title); } else { found['html'](title); }
A bit more:
var found = $tip.find('.popover-title'); if ($.type(title) == 'object') { found.append(title); } else { found.html(title); }
source share