1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 22:09:04 +02:00

add simple type checker implementation

This commit is contained in:
fat
2015-05-13 14:46:50 -07:00
parent c2ced2292a
commit eaab1def7a
25 changed files with 258 additions and 28 deletions

View File

@@ -33,6 +33,10 @@ const Popover = (($) => {
+ '<div class="popover-content"></div></div>'
})
const DefaultType = $.extend({}, Tooltip.DefaultType, {
content : '(string|function)'
})
const ClassName = {
FADE : 'fade',
IN : 'in'
@@ -93,6 +97,10 @@ const Popover = (($) => {
return EVENT_KEY
}
static get DefaultType() {
return DefaultType
}
// overrides