level 1
$tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'html'
](content)
这是bootsrap中的语段代码。
为什么end方法后面可以加中括号,而且中括号后面还可以跟()
2017年07月28日 04点07分
1