Lines Matching refs:g

21 		var i = d(this), g = i.attr("data-target"), h;
22 if (!g) {
23 g = i.attr("href");
24 g = g && g.replace(/.*(?=#[^\s]*$)/, "")
26 h = d(g);
43 var g = d(this), f = g.data("alert");
45 g.data("alert", (f = new b(this)))
48 f[e].call(g)
64 b.prototype.setState = function (g) { argument
66 g = g + "Text";
68 e[h](f[g] || this.options[g]);
70 g == "loadingText" ? e.addClass(i).attr(i, i) : e.removeClass(i).removeAttr(i)
81 var g = c(this), f = g.data("button"), e = typeof d == "object" && d;
83 g.data("button", (f = new b(this, e)))
121 var d = this.$element.find(".item.active"), e = d.parent().children(), f = e.index(d), g = this;
127 g.to(h)
159 …"), d = f || m[k](), j = this.interval, l = k == "next" ? "left" : "right", g = k == "next" ? "fir…
162 d = d.length ? d : this.$element.find(".item")[g]();
217 …var h = b(this), g = h.data("carousel"), e = b.extend({}, b.fn.carousel.defaults, typeof d == "obj…
218 if (!g) {
219 h.data("carousel", (g = new c(this, e)))
222 g.to(d)
225 g[f]()
228 g.cycle()
241 …"data-target") || (f = h.attr("href")) && f.replace(/.*(?=#[^\s]+$)/, "")), g = b.extend({}, d.dat…
242 d.carousel(g);
259 var g, d, f, e;
263 g = this.dimension();
264 d = b.camelCase(["scroll", g].join("-"));
274 this.$element[g](0);
276 b.support.transition && this.$element[g](this.$element[0][d])
292 var g = this, d = function () {
294 g.reset()
296 g.transitioning = 0;
297 g.$element.trigger(f)
312 var g = b(this), f = g.data("collapse"), e = typeof d == "object" && d;
314 g.data("collapse", (f = new c(this, e)))
328 …ar h = b(this), d, g = h.attr("data-target") || i.preventDefault() || (d = h.attr("href")) && d.re…
329 h[b(g).hasClass("in") ? "addClass" : "removeClass"]("collapsed");
330 b(g).collapse(f)
335 var g = f(h).on("click.dropdown.data-api", this.toggle);
337 g.parent().removeClass("open")
341 var i = f(this), h, g;
346 g = h.hasClass("open");
348 if (!g) {
354 var k, m, g, j, i, h; variable
392 var g = i.attr("data-target"), h;
393 if (!g) {
394 g = i.attr("href");
395 g = g && /#/.test(g) && g.replace(/.*(?=#[^\s]*$)/, "")
397 h = f(g);
403 f.fn.dropdown = function (g) { argument
409 if (typeof g == "string") {
410 h[g].call(i)
419 …own.data-api", d).on("click.dropdown touchstart.dropdown.data-api", ".dropdown form",function (g) { argument
420 g.stopPropagation()
421 }).on("touchstart.dropdown.data-api", ".dropdown-menu",function (g) { argument
422 g.stopPropagation()
502 }, backdrop: function (g) { argument
512 d ? this.$backdrop.one(c.support.transition.end, g) : g()
518 if (g) {
519 g()
527 …var g = c(this), f = g.data("modal"), e = c.extend({}, c.fn.modal.defaults, g.data(), typeof d == …
529 g.data("modal", (f = new b(this, e)))
547 …"), d = c(h.attr("data-target") || (f && f.replace(/.*(?=#[^\s]+$)/, ""))), g = d.data("modal") ? …
549 d.modal(g).one("hide", function () {
558 b.prototype = {constructor: b, init: function (g, f, e) { argument
560 this.type = g;
608 var h, d, j, f, i, e, g;
623 g = {top: j.top + j.height, left: j.left + j.width / 2 - f / 2};
626 g = {top: j.top - i, left: j.left + j.width / 2 - f / 2};
629 g = {top: j.top + j.height / 2 - i / 2, left: j.left - f};
632 g = {top: j.top + j.height / 2 - i / 2, left: j.left + j.width};
635 h.offset(g).addClass(e).addClass("in")
645 var g = setTimeout(function () {
649 clearTimeout(g);
692 var g = c(this), f = g.data("tooltip"), e = typeof d == "object" && d;
694 g.data("tooltip", (f = new b(this, e)))
734 var g = c(this), f = g.data("popover"), e = typeof d == "object" && d;
736 g.data("popover", (f = new b(this, e)))
751 function b(g, f) {
752 var h = c.proxy(this.process, this), d = c(g).is("body") ? c(window) : c(g), e;
755 …this.selector = (this.options.target || ((e = c(g).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, ""…
766 var g = c(this), f = g.data("target") || g.attr("href"), h = /^#\w/.test(f) && c(f);
770 }).sort(function (g, f) { argument
771 return g[0] - f[0]
777 …Height || this.$body[0].scrollHeight, h = f - this.$scrollElement.height(), g = this.offsets, d = …
781 for (e = g.length; e--;) {
782 k != d[e] && j >= g[e] && (!g[e + 1] || j <= g[e + 1]) && this.activate(d[e])
798 var g = c(this), f = g.data("scrollspy"), e = typeof d == "object" && d;
800 g.data("scrollspy", (f = new b(this, e)))
825 var j = this.element, g = j.closest("ul:not(.dropdown-menu)"), f = j.attr("data-target"), h, d, i;
833 h = g.find(".active:last a")[0];
840 this.activate(j.parent("li"), g);
847 function g() { function
862 h ? d.one(c.support.transition.end, g) : g();
936 var g = [], e = [], d = [], h;
939 g.push(h)
948 return g.concat(e, d)
951 return d.replace(new RegExp("(" + e + ")", "ig"), function (f, g) { argument
952 return"<strong>" + g + "</strong>"
956 d = b(d).map(function (f, g) { argument
957 f = b(e.options.item).attr("data-value", g);
958 f.find("a").html(e.highlighter(g));
1059 var g = b(this), f = g.data("typeahead"), e = typeof d == "object" && d;
1061 g.data("typeahead", (f = new c(this, e)))
1096 …llTop(), d = this.$element.offset(), k = this.options.offset, f = k.bottom, g = k.top, i = "affix …
1098 f = g = k
1100 if (typeof g == "function") {
1101 g = k.top()
1106 … != null && (d.top + this.$element.height() >= h - f) ? "bottom" : g != null && j <= g ? "top" : f…
1117 var g = c(this), f = g.data("affix"), e = typeof d == "object" && d;
1119 g.data("affix", (f = new b(this, e)))