Lines Matching refs:d

5 …var e = document.createElement("bootstrap"), d = {WebkitTransition: "webkitTransitionEnd", MozTran…  class in a.support.transition.b
6 for (c in d) {
8 return d[c]
16 !function (d) {
18 d(e).on("click", c, this.close)
21 var i = d(this), g = i.attr("data-target"), h;
26 h = d(g);
29 h.trigger(j = d.Event("close"));
38 d.support.transition && h.hasClass("fade") ? h.on(d.support.transition.end, f) : f()
40 var a = d.fn.alert;
41 d.fn.alert = function (e) {
43 var g = d(this), f = g.data("alert");
52 d.fn.alert.Constructor = b;
53 d.fn.alert.noConflict = function () {
54 d.fn.alert = a;
57 d(document).on("click.alert.data-api", c, b.prototype.close)
60 var b = function (e, d) {
62 this.options = c.extend({}, c.fn.button.defaults, d)
74 var d = this.$element.closest('[data-toggle="buttons-radio"]');
75 d && d.find(".active").removeClass("active");
79 c.fn.button = function (d) { argument
81 var g = c(this), f = g.data("button"), e = typeof d == "object" && d;
85 if (d == "toggle") {
88 if (d) {
89 f.setState(d)
101 var d = c(f.target);
102 if (!d.hasClass("btn")) {
103 d = d.closest(".btn")
105 d.button("toggle")
109 var c = function (e, d) { argument
111 this.options = d;
114 c.prototype = {cycle: function (d) { argument
115 if (!d) {
121 var d = this.$element.find(".item.active"), e = d.parent().children(), f = e.index(d), g = this;
134 }, pause: function (d) { argument
135 if (!d) {
159 …var m = this.$element.find(".item.active"), d = f || m[k](), j = this.interval, l = k == "next" ? …
162 d = d.length ? d : this.$element.find(".item")[g]();
163 i = b.Event("slide", {relatedTarget: d[0]});
164 if (d.hasClass("active")) {
172 d.addClass(k);
173 d[0].offsetWidth;
175 d.addClass(l);
177 d.removeClass([k, l].join(" ")).addClass("active");
197d.addClass(k).css({left: (l == "right" ? "-100%" : "100%")}).animate({left: "0"}, 600, function ()…
198 d.removeClass(k).addClass("active")
206 d.addClass("active");
215 b.fn.carousel = function (d) { argument
217 …"), e = b.extend({}, b.fn.carousel.defaults, typeof d == "object" && d), f = typeof d == "string" …
221 if (typeof d == "number") {
222 g.to(d)
241 …var h = b(this), f, d = b(h.attr("data-target") || (f = h.attr("href")) && f.replace(/.*(?=#[^\s]+…
242 d.carousel(g);
247 var c = function (e, d) {
249 this.options = b.extend({}, b.fn.collapse.defaults, d);
256 var d = this.$element.hasClass("width");
257 return d ? "width" : "height"
259 var g, d, f, e;
264 d = b.camelCase(["scroll", g].join("-"));
276 b.support.transition && this.$element[g](this.$element[0][d])
278 var d;
282 d = this.dimension();
283 this.reset(this.$element[d]());
285 this.$element[d](0)
286 }, reset: function (d) { argument
288 this.$element.removeClass("collapse")[e](d || "auto")[0].offsetWidth;
289 this.$element[d !== null ? "addClass" : "removeClass"]("collapse");
292 var g = this, d = function () { function
305 …sition && this.$element.hasClass("collapse") ? this.$element.one(b.support.transition.end, d) : d()
310 b.fn.collapse = function (d) { argument
312 var g = b(this), f = g.data("collapse"), e = typeof d == "object" && d;
316 if (typeof d == "string") {
317 f[d]()
328 …var h = b(this), d, g = h.attr("data-target") || i.preventDefault() || (d = h.attr("href")) && d.r…
347 d();
385 function d() { function
419 …f(document).on("click.dropdown.data-api touchstart.dropdown.data-api", d).on("click.dropdown touch…
426 var b = function (e, d) {
427 this.options = d;
434 var d = this, f = c.Event("show");
442 var e = c.support.transition && d.$element.hasClass("fade");
443 if (!d.$element.parent().length) {
444 d.$element.appendTo(document.body)
446 d.$element.show();
448 d.$element[0].offsetWidth
450 d.$element.addClass("in").attr("aria-hidden", false);
451 d.enforceFocus();
452 e ? d.$element.one(c.support.transition.end, function () {
453 d.$element.focus().trigger("shown")
454 }) : d.$element.focus().trigger("shown")
458 var d = this;
470 var d = this;
472 if (d.$element[0] !== f.target && !d.$element.has(f.target).length) {
473 d.$element.focus()
477 var d = this;
480 f.which == 27 && d.hide()
488 var d = this, e = setTimeout(function () {
489 d.$element.off(c.support.transition.end);
490 d.hideModal()
494 d.hideModal()
496 }, hideModal: function (d) { argument
505 var d = c.support.transition && e;
508 if (d) {
512 d ? this.$backdrop.one(c.support.transition.end, g) : g()
525 c.fn.modal = function (d) { argument
527 …), f = g.data("modal"), e = c.extend({}, c.fn.modal.defaults, g.data(), typeof d == "object" && d);
531 if (typeof d == "string") {
532 f[d]()
547 …"), d = c(h.attr("data-target") || (f && f.replace(/.*(?=#[^\s]+$)/, ""))), g = d.data("modal") ? …
549 d.modal(g).one("hide", function () {
555 var b = function (e, d) {
556 this.init("tooltip", e, d)
559 var h, d;
569 d = this.options.trigger == "hover" ? "mouseleave" : "blur";
571 this.$element.on(d + "." + this.type, this.options.selector, c.proxy(this.leave, this))
575 }, getOptions: function (d) { argument
576 d = c.extend({}, c.fn[this.type].defaults, d, this.$element.data());
577 if (d.delay && typeof d.delay == "number") {
578 d.delay = {show: d.delay, hide: d.delay}
580 return d
582 var d = c(f.currentTarget)[this.type](this._options).data(this.type);
583 if (!d.options.delay || !d.options.delay.show) {
584 return d.show()
587 d.hoverState = "in";
589 if (d.hoverState == "in") {
590 d.show()
592 }, d.options.delay.show)
594 var d = c(f.currentTarget)[this.type](this._options).data(this.type);
598 if (!d.options.delay || !d.options.delay.hide) {
599 return d.hide()
601 d.hoverState = "out";
603 if (d.hoverState == "out") {
604 d.hide()
606 }, d.options.delay.hide)
608 var h, d, j, f, i, e, g;
616 d = /in/.test(e);
618 j = this.getPosition(d);
621 switch (d ? e.split(" ")[1] : e) {
638 var e = this.tip(), d = this.getTitle();
639 e.find(".tooltip-inner")[this.options.html ? "html" : "text"](d);
642 var d = this, e = this.tip();
657 var d = this.$element;
658 if (d.attr("title") || typeof(d.attr("data-original-title")) != "string") {
659 d.attr("data-original-title", d.attr("title") || "").removeAttr("title")
663 }, getPosition: function (d) { argument
664 …return c.extend({}, (d ? {top: 0, left: 0} : this.$element.offset()), {width: this.$element[0].off…
666 var f, d = this.$element, e = this.options;
667 …f = d.attr("data-original-title") || (typeof e.title == "function" ? e.title.call(d[0]) : e.title);
684 var d = c(f.currentTarget)[this.type](this._options).data(this.type);
685 d[d.tip().hasClass("in") ? "hide" : "show"]()
690 c.fn.tooltip = function (d) { argument
692 var g = c(this), f = g.data("tooltip"), e = typeof d == "object" && d;
696 if (typeof d == "string") {
697 f[d]()
709 var b = function (e, d) {
710 this.init("popover", e, d)
713 var f = this.tip(), e = this.getTitle(), d = this.getContent();
715 f.find(".popover-content")[this.options.html ? "html" : "text"](d);
720 var e, d = this.$element, f = this.options;
721 e = d.attr("data-content") || (typeof f.content == "function" ? f.content.call(d[0]) : f.content);
732 c.fn.popover = function (d) { argument
734 var g = c(this), f = g.data("popover"), e = typeof d == "object" && d;
738 if (typeof d == "string") {
739 f[d]()
752 var h = c.proxy(this.process, this), d = c(g).is("body") ? c(window) : c(g), e;
754 this.$scrollElement = d.on("scroll.scroll-spy.data-api", h);
762 var d = this, e;
768 [h.position().top + d.$scrollElement.scrollTop(), f]
773 d.offsets.push(this[0]);
774 d.targets.push(this[1])
777 …dy[0].scrollHeight, h = f - this.$scrollElement.height(), g = this.offsets, d = this.targets, k = …
779 return k != (e = d.last()[0]) && this.activate(e)
782 k != d[e] && j >= g[e] && (!g[e + 1] || j <= g[e + 1]) && this.activate(d[e])
785 var e, d; variable
788 d = this.selector + '[data-target="' + f + '"],' + this.selector + '[href="' + f + '"]';
789 e = c(d).parent("li").addClass("active");
796 c.fn.scrollspy = function (d) { argument
798 var g = c(this), f = g.data("scrollspy"), e = typeof d == "object" && d;
802 if (typeof d == "string") {
803 f[d]()
815 var d = c(this);
816 d.scrollspy(d.data())
821 var b = function (d) {
822 this.element = c(d)
825 var j = this.element, g = j.closest("ul:not(.dropdown-menu)"), f = j.attr("data-target"), h, d, i;
839 d = c(f);
841 this.activate(d, d.parent(), function () {
845 var d = e.find("> .active"), h = i && c.support.transition && d.hasClass("fade");
848 d.removeClass("active").find("> .dropdown-menu > .active").removeClass("active");
862 h ? d.one(c.support.transition.end, g) : g();
863 d.removeClass("in")
866 c.fn.tab = function (d) { argument
872 if (typeof d == "string") {
873 e[d]()
882 c(document).on("click.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function (d) { argument
883 d.preventDefault();
888 var c = function (e, d) {
890 this.options = b.extend({}, b.fn.typeahead.defaults, d);
901 var d = this.$menu.find(".active").attr("data-value");
902 this.$element.val(this.updater(d)).change();
904 }, updater: function (d) { argument
905 return d
907 var d = b.extend({}, this.$element.position(), {height: this.$element[0].offsetHeight});
908 this.$menu.insertAfter(this.$element).css({top: d.top + d.height, left: d.left}).show();
916 var d;
921d = b.isFunction(this.source) ? this.source(this.query, b.proxy(this.process, this)) : this.source;
922 return d ? this.process(d) : this
923 }, process: function (d) { argument
925 d = b.grep(d, function (f) {
928 d = this.sorter(d);
929 if (!d.length) {
932 return this.render(d.slice(0, this.options.items)).show()
933 }, matcher: function (d) { argument
934 return ~d.toLowerCase().indexOf(this.query.toLowerCase())
936 var g = [], e = [], d = [], h;
944 d.push(h)
948 return g.concat(e, d)
949 }, highlighter: function (d) {
951 return d.replace(new RegExp("(" + e + ")", "ig"), function (f, g) {
954 }, render: function (d) {
956 d = b(d).map(function (f, g) {
961 d.first().addClass("active");
962 this.$menu.html(d);
965 var f = this.$menu.find(".active").removeClass("active"), d = f.next();
966 if (!d.length) {
967 d = b(this.$menu.find("li")[0])
969 d.addClass("active")
971 var f = this.$menu.find(".active").removeClass("active"), d = f.prev();
972 if (!d.length) {
973 d = this.$menu.find("li").last()
975 d.addClass("active")
982 }, eventSupported: function (d) {
983 var e = d in this.$element;
985 this.$element.setAttribute(d, "return;");
986 e = typeof this.$element[d] === "function"
989 }, move: function (d) {
993 switch (d.keyCode) {
997 d.preventDefault();
1000 d.preventDefault();
1004 d.preventDefault();
1008 d.stopPropagation()
1009 }, keydown: function (d) {
1010 this.suppressKeyPressRepeat = ~b.inArray(d.keyCode, [40, 38, 9, 13, 27]);
1011 this.move(d)
1012 }, keypress: function (d) {
1016 this.move(d)
1017 }, keyup: function (d) {
1018 switch (d.keyCode) {
1041 d.stopPropagation();
1042 d.preventDefault()
1044 var d = this;
1046 d.hide()
1048 }, click: function (d) {
1049 d.stopPropagation();
1050 d.preventDefault();
1052 }, mouseenter: function (d) {
1054 b(d.currentTarget).addClass("active")
1057 b.fn.typeahead = function (d) { argument
1059 var g = b(this), f = g.data("typeahead"), e = typeof d == "object" && d;
1063 if (typeof d == "string") {
1064 f[d]()
1075 var d = b(this);
1076 if (d.data("typeahead")) {
1080 d.typeahead(d.data())
1084 var b = function (e, d) {
1085 this.options = c.extend({}, c.fn.affix.defaults, d);
1096 …var h = c(document).height(), j = this.$window.scrollTop(), d = this.$element.offset(), k = this.o…
1106 …e = this.unpin != null && (j + this.unpin <= d.top) ? false : f != null && (d.top + this.$element.…
1111 this.unpin = e == "bottom" ? d.top - j : null;
1115 c.fn.affix = function (d) { argument
1117 var g = c(this), f = g.data("affix"), e = typeof d == "object" && d;
1121 if (typeof d == "string") {
1122 f[d]()
1134 var e = c(this), d = e.data();
1135 d.offset = d.offset || {};
1136 d.offsetBottom && (d.offset.bottom = d.offsetBottom);
1137 d.offsetTop && (d.offset.top = d.offsetTop);
1138 e.affix(d)