Lines Matching refs:self

1367     var self = obj instanceof this.constructor ?
1370 if (!self) {
1371 self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1372 $(obj.currentTarget).data('bs.' + this.type, self)
1376 self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
1379 if (self.tip().hasClass('in') || self.hoverState == 'in') {
1380 self.hoverState = 'in'
1384 clearTimeout(self.timeout)
1386 self.hoverState = 'in'
1388 if (!self.options.delay || !self.options.delay.show) return self.show()
1390 self.timeout = setTimeout(function () {
1391 if (self.hoverState == 'in') self.show()
1392 }, self.options.delay.show)
1404 var self = obj instanceof this.constructor ?
1407 if (!self) {
1408 self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1409 $(obj.currentTarget).data('bs.' + this.type, self)
1413 self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
1416 if (self.isInStateTrue()) return
1418 clearTimeout(self.timeout)
1420 self.hoverState = 'out'
1422 if (!self.options.delay || !self.options.delay.hide) return self.hide()
1424 self.timeout = setTimeout(function () {
1425 if (self.hoverState == 'out') self.hide()
1426 }, self.options.delay.hide)
1713 var self = this
1715 self = $(e.currentTarget).data('bs.' + this.type)
1716 if (!self) {
1717 self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1718 $(e.currentTarget).data('bs.' + this.type, self)
1723 self.inState.click = !self.inState.click
1724 if (self.isInStateTrue()) self.enter(self)
1725 else self.leave(self)
1727 self.tip().hasClass('in') ? self.leave(self) : self.enter(self)