KOSASIH / SilkRoad

Avoid use of inline HTML templates JS-0526
Anti-pattern
Minor
8 months agoa year old
Inline template is too complex. Use an external template instead
1802    placement: 'right',
1803    trigger: 'click',
1804    content: '',
1805    template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'1806  })
1807
1808
Inline template is too complex. Use an external template instead
1290    animation: true,
1291    placement: 'top',
1292    selector: false,
1293    template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',1294    trigger: 'hover focus',
1295    title: '',
1296    delay: 0,
Inline template is too complex. Use an external template instead
1197  $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
1198    placement: 'right'
1199  , content: ''
1200  , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'1201  })
1202
1203}( window.jQuery );/* =============================================================
Inline template is too complex. Use an external template instead
1103  , placement: 'top'
1104  , trigger: 'hover'
1105  , title: ''
1106  , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'1107  }
1108
1109}( window.jQuery );/* ===========================================================