Lines Matching refs:jQuery

31     this.$element = jQuery(element);
32 this.options = jQuery.extend({}, Typeahead.defaults, options);
47 this.$menu = jQuery(this.options.menu || this.theme.menu);
48 this.$appendTo = this.options.appendTo ? jQuery(this.options.appendTo) : null;
137 var pos = jQuery.extend({}, this.$element.position(), {
166 var dropup = jQuery(element).parent().hasClass('dropup');
168 var right = jQuery(element).hasClass('dropdown-menu-right');
199 var worker = jQuery.proxy(function () {
204 if (jQuery.isFunction(this.source) && this.source.length === 3) {
205 this.source(this.query, jQuery.proxy(this.process, this), jQuery.proxy(this.process, this));
206 } else if (jQuery.isFunction(this.source)) {
207 this.source(this.query, jQuery.proxy(this.process, this));
220 items = jQuery.grep(items, function (item) {
318 jQuery.each(items, function (key, value) {
340 items = jQuery(data).map(function (i, item) {
342 return jQuery(that.options.headerHtml || that.theme.headerHtml).text(item.name)[0];
346 return jQuery(that.options.headerDivider || that.theme.headerDivider)[0];
350 i = jQuery(that.options.item || that.theme.item).data('value', item);
391 next = jQuery(this.$menu.find(jQuery(this.options.item || this.theme.item).prop('tagName'))[0]);
411 prev = this.$menu.find(jQuery(this.options.item || this.theme.item).prop('tagName')).last();
428 .on('focus.bootstrap3Typeahead', jQuery.proxy(this.focus, this))
429 .on('blur.bootstrap3Typeahead', jQuery.proxy(this.blur, this))
430 .on('keypress.bootstrap3Typeahead', jQuery.proxy(this.keypress, this))
431 .on('propertychange.bootstrap3Typeahead input.bootstrap3Typeahead', jQuery.proxy(this.input, this))
432 .on('keyup.bootstrap3Typeahead', jQuery.proxy(this.keyup, this));
435 this.$element.on('keydown.bootstrap3Typeahead', jQuery.proxy(this.keydown, this));
438 var itemTagName = jQuery(this.options.item || this.theme.item).prop('tagName');
441 .on('touchstart', itemTagName, jQuery.proxy(this.touchstart, this))
442 .on('touchend', itemTagName, jQuery.proxy(this.click, this))
443 .on('click', jQuery.proxy(this.click, this))
444 .on('mouseenter', itemTagName, jQuery.proxy(this.mouseenter, this))
445 .on('mouseleave', itemTagName, jQuery.proxy(this.mouseleave, this))
446 .on('mousedown', jQuery.proxy(this.mousedown, this));
449 .on('touchstart', itemTagName, jQuery.proxy(this.touchstart, this))
450 .on('touchend', itemTagName, jQuery.proxy(this.click, this));
453 .on('click', jQuery.proxy(this.click, this))
454 .on('mouseenter', itemTagName, jQuery.proxy(this.mouseenter, this))
455 .on('mouseleave', itemTagName, jQuery.proxy(this.mouseleave, this))
456 .on('mousedown', jQuery.proxy(this.mousedown, this));
530 this.suppressKeyPressRepeat = ~jQuery.inArray(e.keyCode, [40, 38, 9, 13, 27]);
635 jQuery(e.currentTarget).addClass('active');
659 jQuery(e.currentTarget).addClass('active');
674 var old = jQuery.fn.typeahead;
676 jQuery.fn.typeahead = function (option) {
682 var $this = jQuery(this);
704 afterSelect: jQuery.noop,
705 afterEmptySelect: jQuery.noop,
734 jQuery.fn.typeahead.Constructor = Typeahead;
739 jQuery.fn.typeahead.noConflict = function () {
740 jQuery.fn.typeahead = old;
748 jQuery(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
749 var $this = jQuery(this);