rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
this._suggest( content );
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
same( $(".ui-menu").length, 1 );
same( $(".ui-menu:visible").length, 1 );
(function($) {module("autocomplete: events");var data = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "pearl"];test("all events", function() { expect(11); var ac = $("#autocomplete").autocomplete({ delay: 0, source: data, search: function(event) { sa...
same( $(".ui-menu").length, 0 );
same( $(".ui-menu:visible").length, 0 );
(function($) {module("autocomplete: events");var data = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "pearl"];test("all events", function() { expect(11); var ac = $("#autocomplete").autocomplete({ delay: 0, source: data, search: function(event) { sa...
_init: function() {
_create: function() {
(function($) {$.widget("ui.accordion", { options: { active: 0, animated: 'slide', autoHeight: true, clearStyle: false, collapsible: false, event: "click", fillSpace: false, header: "> li > :first-child,> :not(li):even", icons: { header: "ui-icon-triangle-1-e", headerSelected: "ui-icon-triangle-1-s" }, na...
return jQuery(form).attr('name') == "multipart/form-data";
return jQuery(form).attr('enctype') == "multipart/form-data";
var iliad = (function() { /* --- * Variables * -------------------------------------------------------------- */ var hash = ""; var actionsLocked = false; var ie67 = false; var ajaxLoader = false; /* --- * Initialization * -------------------------------------------------------------- */ ...
})(jQuery, fluid_1_2);
})(jQuery, fluid);
(function ($, fluid) { var buildTabs = function (that) { var tabs = $("<ul></ul>", that.container[0].ownerDocument); tabs.addClass(that.options.styles.list); for (var i = 0; i < that.options.tabList.length; i++) { var tabspec = that.options.tabList[i]; var tab = $("<li></li...
if (currentElement[0] !== undefined){ while(currentElement[0].tagName.toLowerCase() == "source") { sources.push(parseSourceElement(currentElement[0]));
if (currentElement !== undefined){ while(currentElement.tagName.toLowerCase() == "source") { sources.push(parseSourceElement(currentElement));
(function(jwplayer) { jwplayer.utils.mediaparser = function() {}; var elementAttributes = { element: { width: 'width', height: 'height', id: 'id', 'class': 'className', name: 'name' }, media: { src: 'file', preload: 'preload', autoplay: 'autostart', loop: 'repeat', controls: 'controls' }, so...
jQuery("."+id+':last').append(contents);
jQuery("."+id).append(contents);
var iliad = (function() { /* --- * Variables * -------------------------------------------------------------- */ var hash = ""; var actionsLocked = false; var ie67 = false; /* --- * Initialization * -------------------------------------------------------------- */ function initialize() { ie6...
jQuery("."+id+':first').prepend(contents);
jQuery("."+id).prepend(contents);
var iliad = (function() { /* --- * Variables * -------------------------------------------------------------- */ var hash = ""; var actionsLocked = false; var ie67 = false; /* --- * Initialization * -------------------------------------------------------------- */ function initialize() { ie6...
_css(_logo, _getStyle());
(function(jwplayer) { var _defaults = { prefix: "http://l.longtailvideo.com/html5/", file: "logo.png", link: "http://www.longtailvideo.com/players/jw-flv-player/", margin: 8, out: 0.5, over: 1, timeout: 3, hide: true, position: "bottom-left" }; _css = jwplayer.html5.utils.css; jwplayer.html5.logo = function(...
_css(_logo, _getStyle());
(function(jwplayer) { var _defaults = { prefix: "http://l.longtailvideo.com/html5/", file: "logo.png", link: "http://www.longtailvideo.com/players/jw-flv-player/", margin: 8, out: 0.5, over: 1, timeout: 3, hide: true, position: "bottom-left" }; _css = jwplayer.html5.utils.css; jwplayer.html5.logo = function(...
mediaInfo: mediaInfo(player),
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
$.fn.jwplayerMediaFlash.forwarders[controllerEvents[controllerEvent]] = forwardFactory(controllerEvents[controllerEvent], player); video[0].addControllerListener(controllerEvent, "$.fn.jwplayerMediaFlash.forwarders."+controllerEvents[controllerEvent]);
$.fn.jwplayerMediaFlash.forwarders[player.id][controllerEvents[controllerEvent]] = forwardFactory(controllerEvents[controllerEvent], player); video[0].addControllerListener(controllerEvent, "$.fn.jwplayerMediaFlash.forwarders." + player.id + "." + controllerEvents[controllerEvent]);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
$.fn.jwplayerMediaFlash.forwarders[modelEvents[modelEvent]] = forwardFactory(modelEvents[modelEvent], player); video[0].addModelListener(modelEvent, "$.fn.jwplayerMediaFlash.forwarders."+modelEvents[modelEvent]); } } function forwardFactory(type, player){ return function(event){
$.fn.jwplayerMediaFlash.forwarders[player.id][modelEvents[modelEvent]] = forwardFactory(modelEvents[modelEvent], player); video[0].addModelListener(modelEvent, "$.fn.jwplayerMediaFlash.forwarders." + player.id + "." + modelEvents[modelEvent]); } $.fn.jwplayerMediaFlash.forwarders[player.id][viewEvents.MUTE] = forwardFa...
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
$.fn.jwplayerUtils.log(type, event);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
sendEvent(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_COMPLETE);
player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_COMPLETE, event);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
player.model.domelement[0].sendEvent("PAUSE");
player.model.domelement[0].sendEvent("PLAY", false);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
player.model.domelement[0].sendEvent("MUTE");
player.model.domelement[0].sendEvent("MUTE", state);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
}; }
player.model.fullscreen = state; $.fn.jwplayerUtils.log("Fullscreen does not work for Flash media."); }; }
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
player.model.domelement[0].sendEvent("LOAD", path);
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
}; } function mediaInfo(player) { return function(){ return { width: player.model.width, player: player.model.height, state: player.model.state };
player.model.width = width; player.model.height = height; player.css("width", width); player.css("height", height); player.sendEvent($.fn.jwplayer.events.JWPLAYER_MEDIA_RESIZE, { width: width, hieght: height });
(function($) { var controllerEvents = { ERROR: $.fn.jwplayer.events.JWPLAYER_ERROR, ITEM: "ITEM", MUTE: $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, PLAY: "PLAY", PLAYLIST: "PLAYLIST", RESIZE: $.fn.jwplayer.events.JWPLAYER_RESIZE, SEEK: "SEEK", STOP: "STOP", VOLUME: $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME }; ...
expect(7);
expect(9);
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
same(ui, {}, 'ui hash in callback');
ok(ui.position !== undefined, "ui.position in callback"); ok(ui.offset !== undefined, "ui.offset in callback");
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
same(ui, {}, 'ui hash in event');
ok(ui.position !== undefined, "ui.position in callback"); ok(ui.offset !== undefined, "ui.offset in callback");
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
expect(7);
expect(13);
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
same(ui, {}, 'ui hash in callback');
ok(ui.originalPosition !== undefined, "ui.originalPosition in callback"); ok(ui.originalSize !== undefined, "ui.originalSize in callback"); ok(ui.position !== undefined, "ui.position in callback"); ok(ui.size !== undefined, "ui.size in callback");
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
same(ui, {}, 'ui hash in event');
ok(ui.originalPosition !== undefined, "ui.originalPosition in callback"); ok(ui.originalSize !== undefined, "ui.originalSize in callback"); ok(ui.position !== undefined, "ui.position in callback"); ok(ui.size !== undefined, "ui.size in callback");
(function($) {module("dialog: events");test("open", function() { expect(11); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogopen', 'event type in callback'); same(ui, {}, 'ui hash in ...
url: 'comet',
url: 'comet/poll',
var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_response(result.responseText); if(failures > 1) { tvheadend.log('Reconnec...
boxid: (boxid ? boxid : null),
boxid: (tvheadend.boxid ? tvheadend.boxid : null),
var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_response(result.responseText); if(failures > 1) { tvheadend.log('Reconnec...
$.fn.jwplayerControlbar($.jwplayer(player.id), player.model.domelement);
if (!$.fn.jwplayerUtils.isiPhone()) { $.fn.jwplayerControlbar($.jwplayer(player.id), player.model.domelement); }
(function($) { /** Map with all players on the page. **/ var players = {}; /** Hooking the controlbar up to jQuery. **/ $.fn.jwplayer = function(options) { return this.each(function() { $.fn.jwplayerUtils.log("Starting setup", this); setupJWPlayer($(this), 0, options); }); }; function setupJWPlayer(player, step...
search.search("intake", "foofer");
search.model.recordType = "intake"; search.model.keywords = "foofer"; search.search();
(function () { // jqMock requires jqUnit.ok to exist jqUnit.ok = ok; var searchTests = new jqUnit.TestCase("Search Tests", function () { searchTests.fetchTemplate("../../main/webapp/html/search.html", ".main-search-page"); }); searchTests.test("Basic search URL with query", function () {...
expect(1);
expect(2);
(function () { // jqMock requires jqUnit.ok to exist jqUnit.ok = ok; var searchTests = new jqUnit.TestCase("Search Tests", function () { searchTests.fetchTemplate("../../main/webapp/html/search.html", ".main-search-page"); }); searchTests.test("Basic search URL with query", function () {...
jqUnit.assertDeepEq("After search, model should hold search results", expectedModel, search.model);
jqUnit.assertDeepEq("After search, model should hold search results", expectedModel.results, search.model.results); start(); }, afterSearch: function () { jqUnit.assertEquals("After search, display of number of results should be correct", expectedModel.results.length, jQuery(search.options.selectors.resultsCount).text(...
(function () { // jqMock requires jqUnit.ok to exist jqUnit.ok = ok; var searchTests = new jqUnit.TestCase("Search Tests", function () { searchTests.fetchTemplate("../../main/webapp/html/search.html", ".main-search-page"); }); searchTests.test("Basic search URL with query", function () {...
search.search("intake", "foofer");
jqUnit.notVisible("Initially, results count should be hidden", jQuery(search.options.selectors.resultsContainer)); jqUnit.notVisible("Initially, 'looking' message should be hidden", jQuery(search.options.selectors.lookingContainer)); search.model.recordType = "loanin"; search.model.keywords = query; search.search();
(function () { // jqMock requires jqUnit.ok to exist jqUnit.ok = ok; var searchTests = new jqUnit.TestCase("Search Tests", function () { searchTests.fetchTemplate("../../main/webapp/html/search.html", ".main-search-page"); }); searchTests.test("Basic search URL with query", function () {...
searchTests.test("Search URL through form inputs", function () { expect(1); var search = cspace.search(".main-search-page"); jQuery(search.options.selectors.keywords).val("doodle"); jQuery(search.options.selectors.recordType).val("acquisition"); var ajaxMock = new jqMock.Mock(jQuery, "ajax"); var expectedAjaxParams = ...
(function () { // jqMock requires jqUnit.ok to exist jqUnit.ok = ok; var searchTests = new jqUnit.TestCase("Search Tests", function () { searchTests.fetchTemplate("../../main/webapp/html/search.html", ".main-search-page"); }); searchTests.test("Basic search URL with query", function () {...
.click(function() {changeDataEntryState(arg, op)});
_.find('.bIcon').attr('id', 'img' + id).click(function() { showDetails(id); }).after(drawDetails ? name : ('<a href="' + window.location.pathname + '/' + id + '">' + name + '</a>'));
.click(function() {changeDataEntryState(arg, op)});
otherClasses = "ui-state-hover ui-state-active " + "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only",
stateClasses = "ui-state-hover ui-state-active ", typeClasses = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only",
(function( $ ) {var lastActive, baseClasses = "ui-button ui-widget ui-state-default ui-corner-all", otherClasses = "ui-state-hover ui-state-active " + "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only", formResetHandler = function( event ) { $( ":ui-button", event....
.removeClass( baseClasses + " " + otherClasses )
.removeClass( baseClasses + " " + stateClasses + " " + typeClasses )
(function( $ ) {var lastActive, baseClasses = "ui-button ui-widget ui-state-default ui-corner-all", otherClasses = "ui-state-hover ui-state-active " + "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only", formResetHandler = function( event ) { $( ":ui-button", event....
var buttonElement = this.buttonElement,
var buttonElement = this.buttonElement.removeClass( typeClasses ),
(function( $ ) {var lastActive, baseClasses = "ui-button ui-widget ui-state-default ui-corner-all", otherClasses = "ui-state-hover ui-state-active " + "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon ui-button-text-only", formResetHandler = function( event ) { $( ":ui-button", event....
equals(id, o.key);
equals(o.key, id);
context('Lawnchair', function(){ var me = {name:'brian', age:30}; should( 'be empty.', function(){ stop(); store.nuke(); store.all('equals(r.length, 0); start();'); }); should("store a doc to be deleted by the nuke callback", function() { stop(); store.save({name: "Nick", age: 29}, function(){ store.all('e...
return obj.__count__ === 0;
return isNativeObject(obj) && obj.__count__ === 0;
return (isEmpty = APE.__count__ ? function(obj) { return obj.__count__ === 0; } : typeof Object.keys === "function" ? function(obj) {
$( "*", this ).add( this ).each(function() {
$( "*", this ).add( [ this ] ).each(function() {
(function( $ ) {var _remove = $.fn.remove;$.fn.remove = function( selector, keepData ) { return this.each(function() { if ( !keepData ) { if ( !selector || $.filter( selector, [ this ] ).length ) { $( "*", this ).add( this ).each(function() { $( this ).triggerHandler( "remove" ); }); } } return _remove...
return function(value) { var list = entityConversionLists[direction][name]; return String(value).replace( getEscapeRegexp(direction, { group : name, list : list }), function(ch) { return list[ch]; } ); };
function(token) { var val = token.value; parsedLine.push([token.style, val]); styleLibrary[token.style] = true; }
return function(value) { var list = entityConversionLists[direction][name]; return String(value).replace( getEscapeRegexp(direction, { group : name, list : list }), function(ch) { retur...
test('#6710 - selectors are global', function() { expect(1); var container = $('\ <div>\ <div id="tabs_6710">\ <ul>\ <li><a href="#tabs-1_6710">Nunc tincidunt</a></li>\ <li><a href="#tabs-2_6710">Proin dolor</a></li>\ </ul>\ <div id="tabs-1_6710"> <p>first</p> </div>\ <div id="tabs-2_6710"> <p>second</p>\ </div>\ </d...
(function($) {module("tabs: tickets");test('#2715 - id containing colon', function() { // http://dev.jqueryui.com/ticket/2715 expect(4); el = $('#tabs2').tabs(); ok( $('div.ui-tabs-panel:eq(0)', '#tabs2').is(':visible'), 'first panel should be visible' ); ok( $('div.ui-tabs-panel:eq(1)', '#tabs2').is(':hidden'), 'secon...
test("element types", function() { var typeNames = ('p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form' + ',table,fieldset,address,ins,del,em,strong,q,cite,dfn,abbr' + ',acronym,code,samp,kbd,var,img,object,hr' + ',input,button,label,select,iframe').split(','); $.each(typeNames, function(i) { var typeName = typeNames[i...
(function($) {module("dialog: core");test("element types", function() { var typeNames = ('p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form' + ',table,fieldset,address,ins,del,em,strong,q,cite,dfn,abbr' + ',acronym,code,samp,kbd,var,img,object,hr' + ',input,button,label,select,iframe').split(','); $.each(typeNames, f...
test('focus', function() { expect(3);
test('focus - original functionality', function() { expect(1);
(function($) {module('core - jQuery extensions');test('focus', function() { expect(3); var el = $('#inputTabindex0'), // used to remove focus from the main element other = $('#inputTabindex10'); // test original functionality el.focus(function() { ok(true, 'event triggered'); }); el.focus(); other.focus(); // tri...
var el = $('#inputTabindex0'), other = $('#inputTabindex10'); el.focus(function() { ok(true, 'event triggered'); }); el.focus(); other.focus(); stop(); el.focus(500, function() { ok(true, 'callback triggered'); start(); }); other.focus();
$('#inputTabindex0') .focus(function() { ok(true, 'event triggered'); }) .focus(); }); asyncTest('focus', function() { expect(2); $('#inputTabindex0') .focus(function() { ok(true, 'event triggered'); }) .focus(500, function() { ok(true, 'callback triggered'); $(this).unbind('focus'); start(); });
(function($) {module('core - jQuery extensions');test('focus', function() { expect(3); var el = $('#inputTabindex0'), // used to remove focus from the main element other = $('#inputTabindex10'); // test original functionality el.focus(function() { ok(true, 'event triggered'); }); el.focus(); other.focus(); // tri...
(function(){if(typeof APE!=="undefined"){throw Error("APE is already defined.")}var I="instances",J="prototype",B=Object[J],E=B.hasOwnProperty,A=["toString","valueOf"];function O(){}function M(P,F){return N.call(P,F)}function H(S){var T=S.split("."),Q=self,R=0,F=T.length,P;for(;R<F;R++){P=T[R];if(!G(Q,P)){Q[P]=new L(Q,...
(function(){if(typeof APE!=="undefined"){throw Error("APE is already defined.")}var I="instances",J="prototype",B=Object[J],E=B.hasOwnProperty,A=["toString","valueOf"];function O(){}function M(P,F){return N.call(P,F)}function H(S){var T=S.split("."),Q=self,R=0,F=T.length,P;for(;R<F;R++){P=T[R];if(!G(Q,P)){Q[P]=new L(Q,...
(function(){if(typeof APE!=="undefined"){throw Error("APE is already defined.")}var I="instances",J="prototype",B=Object[J],E=B.hasOwnProperty,A=["toString","valueOf"];function O(){}function M(P,F){return N.call(P,F)}function H(S){var T=S.split("."),Q=self,R=0,F=T.length,P;for(;R<F;R++){P=T[R];if(!G(Q,P)){Q[P]=new L(Q,...
maxLength: 24
maxLength: 23
(function ($, fluid) { var bindEvents = function (that) { var pwField = that.locate("passwordField"); pwField.change(function(event) { that.validateLength(pwField.val()); }); }; cspace.passwordValidator = function (container, options) { var that = fluid.initView("cspace.p...
if (self.current == target) self._show(event, target, response);
setTimeout(function() { if (self.current == target) self._show(event, target, response); }, 13);
(function($) {// role=application on body required for screenreaders to correctly interpret aria attributesif( !$(document.body).is('[role]') ){ $(document.body).attr('role','application');} var increments = 0;$.widget("ui.tooltip", { options: { tooltipClass: "ui-widget-content", content: function() { return $(this...
if (this.tooltip.is(":animated")) this.tooltip.stop().show().fadeTo("normal", this.opacity); else this.tooltip.is(':visible') ? this.tooltip.fadeTo("normal", this.opacity) : this.tooltip.fadeIn();
this.tooltip.stop(false, true).fadeIn();
(function($) {// role=application on body required for screenreaders to correctly interpret aria attributesif( !$(document.body).is('[role]') ){ $(document.body).attr('role','application');} var increments = 0;$.widget("ui.tooltip", { options: { tooltipClass: "ui-widget-content", content: function() { return $(this...
if (this.tooltip.is(':animated')) this.tooltip.stop().fadeTo("normal", 0, function() { $(this).hide().css("opacity", ""); }); else this.tooltip.stop().fadeOut();
this.tooltip.stop(false, true).fadeOut();
(function($) {// role=application on body required for screenreaders to correctly interpret aria attributesif( !$(document.body).is('[role]') ){ $(document.body).attr('role','application');} var increments = 0;$.widget("ui.tooltip", { options: { tooltipClass: "ui-widget-content", content: function() { return $(this...
'cursor': 'default',
(function($) { /** Constructor **/ $.fn.jwplayerUtils = function() { return this.each(function() { }); }; //http://old.nabble.com/jQuery-may-add-$.browser.isiPhone-td11163329s27240.html $.fn.jwplayerUtils.isiPhone = function() { var agent = navigator.userAgent.toLowerCase(); return agent.match(/iPhone/i); }; /** ...
if(path === undefined){
if($.fn.jwplayerUtils.isNull(path)){
(function($) { /** Constructor **/ $.fn.jwplayerUtils = function() { return this.each(function() { }); }; //http://old.nabble.com/jQuery-may-add-$.browser.isiPhone-td11163329s27240.html $.fn.jwplayerUtils.isiPhone = function() { var agent = navigator.userAgent.toLowerCase(); return agent.match(/iPhone/i); }; /** ...
assert.soon(function() { res = slaves[0].getDB("admin").runCommand({replSetGetStatus: 1})
assert.soon(function () { try { res = slaves[0].getDB("admin").runCommand({ replSetGetStatus: 1 }) } catch (err) { }
assert.soon(function() { res = slaves[0].getDB("admin").runCommand({replSetGetStatus: 1}) return res.myState == 2; }, "Slave 0 state not ready.");
zIndex: 0, overflow: "hidden"
zIndex: 0
(function(jwplayer) { var _css = jwplayer.utils.css; jwplayer.html5.view = function(api, container, model) { var _api = api; var _container = container; var _model = model; var _wrapper; var _width; var _height; var _box; var _zIndex; var _resizeInterval; function createWrapper() { _wrapper = document.cr...
doc = this.element[ 0 ].ownerDocument;
doc = this.element[ 0 ].ownerDocument, suppressKeyPress;
(function( $, undefined ) {$.widget( "ui.autocomplete", { options: { appendTo: "body", delay: 300, minLength: 1, position: { my: "left top", at: "left bottom", collision: "none" }, source: null }, _create: function() { var self = this, doc = this.element[ 0 ].ownerDocument; this.element .addClass( "ui...
} }) .bind( "keypress.autocomplete", function( event ) { if ( suppressKeyPress ) { suppressKeyPress = false; event.preventDefault();
(function( $, undefined ) {$.widget( "ui.autocomplete", { options: { appendTo: "body", delay: 300, minLength: 1, position: { my: "left top", at: "left bottom", collision: "none" }, source: null }, _create: function() { var self = this, doc = this.element[ 0 ].ownerDocument; this.element .addClass( "ui...
htmlString = htmlString.replace("%style%", "style='"+styleString+"width:"+player.model.config.width+"px;height:"+(player.model.config.height+player.skin.controlbar.elements.background.height)+"px;'");
(function($) { var styleString = "left:0px;top:0px;position:absolute;z-index:0;"; var embedString = "<embed %elementvars% src='%flashplayer%' allowfullscreen='true' allowscriptaccess='always' flashvars='%flashvars%' %style% />"; var objectString = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' %elementva...
var uispecUrl = (cspace.util.isLocal() ? "./uispecs/admin/uispec.json" : "../../chain/admin/uispec");
var uispecUrl = (cspace.util.isLocal() ? "./uispecs/admin/uispec.json" : "../../chain/users/uispec");
(function ($) { cspace.adminSetup = function () { var setUpPage = function () { var adminOpts = { uispec: "{pageBuilder}.uispec" }; if (cspace.util.isLocal()) { adminOpts.dataContext = { options: { baseUrl...
;jQuery.ui || (function($) {
(function($) { $.ui = $.ui || {}; if ($.ui.version) { return; }
;jQuery.ui || (function($) {//Helper functions and ui object$.ui = { version: "@VERSION", // $.ui.plugin is deprecated. Use the proxy pattern instead. plugin: { add: function(module, option, set) { var proto = $.ui[module].prototype; for(var i in set) { proto.plugins[i] = proto.plugins[i] || []; proto.plugi...
$.ui = {
$.extend($.ui, {
;jQuery.ui || (function($) {//Helper functions and ui object$.ui = { version: "@VERSION", // $.ui.plugin is deprecated. Use the proxy pattern instead. plugin: { add: function(module, option, set) { var proto = $.ui[module].prototype; for(var i in set) { proto.plugins[i] = proto.plugins[i] || []; proto.plugi...
};
});
;jQuery.ui || (function($) {//Helper functions and ui object$.ui = { version: "@VERSION", // $.ui.plugin is deprecated. Use the proxy pattern instead. plugin: { add: function(module, option, set) { var proto = $.ui[module].prototype; for(var i in set) { proto.plugins[i] = proto.plugins[i] || []; proto.plugi...
expect(7);
expect(6);
(function($) {module("dialog: methods", { teardown: function() { $("body>.ui-dialog").remove(); }});test("init", function() { expect(7); $("<div></div>").appendTo('body').dialog().remove(); ok(true, '.dialog() called on element'); $([]).dialog().remove(); ok(true, '.dialog() called on empty collection'); $('<div></div...
$('<div></div>').dialog().dialog("foo").remove(); ok(true, 'arbitrary method called after init');
(function($) {module("dialog: methods", { teardown: function() { $("body>.ui-dialog").remove(); }});test("init", function() { expect(7); $("<div></div>").appendTo('body').dialog().remove(); ok(true, '.dialog() called on element'); $([]).dialog().remove(); ok(true, '.dialog() called on empty collection'); $('<div></div...
$('<div></div>').dialog().dialog("destroy").dialog("foo").remove(); ok(true, 'arbitrary method called after destroy');
(function($) {module("dialog: methods", { teardown: function() { $("body>.ui-dialog").remove(); }});test("init", function() { expect(7); $("<div></div>").appendTo('body').dialog().remove(); ok(true, '.dialog() called on element'); $([]).dialog().remove(); ok(true, '.dialog() called on empty collection'); $('<div></div...
horizontalDefault = "center",
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
verticalDefault = "center",
center = "center",
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
pos.concat( [verticalDefault] ) :
pos.concat( [center] ) :
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
[ horizontalDefault ].concat( pos ) : [ horizontalDefault, verticalDefault ]; } pos[ 0 ] = horizontalPositions.test( pos[0] ) ? pos[ 0 ] : horizontalDefault; pos[ 1 ] = verticalPositions.test( pos[1] ) ? pos[ 1 ] : verticalDefault;
[ center ].concat( pos ) : [ center, center ]; } pos[ 0 ] = horizontalPositions.test( pos[0] ) ? pos[ 0 ] : center; pos[ 1 ] = verticalPositions.test( pos[1] ) ? pos[ 1 ] : center;
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
} else if (options.at[0] === horizontalDefault ) {
} else if (options.at[0] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
} else if ( options.at[1] === verticalDefault ) {
} else if ( options.at[1] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
} else if ( options.my[0] === horizontalDefault ) {
} else if ( options.my[0] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
} else if ( options.my[1] === verticalDefault ) {
} else if ( options.my[1] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
if ( data.at[0] === "center" ) {
if ( data.at[0] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
if ( data.at[1] === "center" ) {
if ( data.at[1] === center ) {
(function( $, undefined ) {$.ui = $.ui || {};var horizontalPositions = /left|center|right/, horizontalDefault = "center", verticalPositions = /top|center|bottom/, verticalDefault = "center", _position = $.fn.position, _offset = $.fn.offset;$.fn.position = function( options ) { if ( !options || !options.of ) { return _...
{recordType: "authorities", csid: that.applier.model.csid, strings: {nothingYet: "No Authority terms used yet"}}]);
{ recordType: "authorities", listeners: { afterSelect: that.options.recordListAfterSelectHandler }, csid: that.applier.model.csid, strings: {nothingYet: "No Authority terms used yet"} }]);
(function ($, fluid) { fluid.log("Sidebar.js loaded"); cspace.sidebar = function (container, applier, options) { var that = fluid.initView("cspace.sidebar", container, options); that.applier = applier; var intAuthModel = { items: that.applier.model.termsUsed || [], ...
type: "cspace.recordList"
type: "cspace.recordList", options: { listeners: { afterSelect: cspace.recordList.afterSelectHandlerDefault } }
(function ($, fluid) { fluid.log("Sidebar.js loaded"); cspace.sidebar = function (container, applier, options) { var that = fluid.initView("cspace.sidebar", container, options); that.applier = applier; var intAuthModel = { items: that.applier.model.termsUsed || [], ...
recordListAfterSelectHandler: cspace.recordList.afterSelectHandlerDefault,
(function ($, fluid) { fluid.log("Sidebar.js loaded"); cspace.sidebar = function (container, applier, options) { var that = fluid.initView("cspace.sidebar", container, options); that.applier = applier; var intAuthModel = { items: that.applier.model.termsUsed || [], ...
$.fn.jwplayerUtils.embedFlash = function(object, options) { object = $(object); var flashvars = ""; for (var option in options) { if (options[option] != undefined) { flashvars += option + "=" + options[option] + "&";
var result = (type == "array") ? "[" : "{"; result += "\n"+indent; for (var i in object) { if (type == "object") { result += "\""+i+"\": "}; result += $.fn.jwplayerUtils.dump(object[i], depth)+",\n"+indent; } result = result.substring(0, result.length-2-depth)+"\n"; result += indent.substring(0, indent.length-1); r...
(function($){$.fn.jwplayerUtils = function(){ return this.each(function() { });}/** Check if this client supports Flash player 9.0.115+ (FLV/H264). **/$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.Allow...
if ($.browser.msie) { object.replaceWith("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='"+object.attr('width') +"' height='"+object.attr('height') +"' id='"+object.attr('id') +"' name='"+object.attr('name') +"' class='"+object.attr("class") +"'>" + "<param name='movie' value='src/jquery.jwplayer.s...
return s;
(function($){$.fn.jwplayerUtils = function(){ return this.each(function() { });}/** Check if this client supports Flash player 9.0.115+ (FLV/H264). **/$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.Allow...
$.fn.jwplayerUtils.dump = function(object, depth) { if (object == null) { return 'null'; } else if ($.fn.jwplayerUtils.typeOf(object) != 'object') { if ($.fn.jwplayerUtils.typeOf(object) == 'string'){ return"\""+object+"\""; } return object; } var type = $.fn.jwplayerUtils.typeOf(object); (depth == undefined) ? depth...
(function($){$.fn.jwplayerUtils = function(){ return this.each(function() { });}/** Check if this client supports Flash player 9.0.115+ (FLV/H264). **/$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.Allow...
var result = (type == "array") ? "[" : "{"; result += "\n"+indent; for (var i in object) { if (type == "object") { result += "\""+i+"\": "}; result += $.fn.jwplayerUtils.dump(object[i], depth)+",\n"+indent; } result = result.substring(0, result.length-2-depth)+"\n"; result += indent.substring(0, indent.length-1); r...
$.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; };
(function($){$.fn.jwplayerUtils = function(){ return this.each(function() { });}/** Check if this client supports Flash player 9.0.115+ (FLV/H264). **/$.fn.jwplayerUtils.supportsFlash = function() { var version = '0,0,0,0'; try { try { var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); try { axo.Allow...
var dirEnd = url.lastIndexOf("/"); return url.substring(0, dirEnd) + "\/config" + url.substring(dirEnd, url.indexOf(".html")) + ".json";
return ".\/config" + url.substring(url.lastIndexOf("/"), url.indexOf(".html")) + ".json";
(function ($, fluid) { cspace.util = {}; cspace.util.addTrailingSlash = function (url) { return url + ((url.charAt(url.length - 1) !== "/") ? "/" : ""); }; cspace.util.getUrlParameter = function (name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" ...
(arguments.length && this._widgetInit(options, element));
(arguments.length && this._createWidget(options, element));
(function($) {var _remove = $.fn.remove;$.fn.remove = function() { // Safari has a native remove event which actually removes DOM elements, // so we have to use triggerHandler instead of trigger (#3037). $("*", this).add(this).each(function() { $(this).triggerHandler("remove"); }); return _remove.apply(this, arguments...
_widgetInit: function(options, element) {
_createWidget: function(options, element) {
(function($) {var _remove = $.fn.remove;$.fn.remove = function() { // Safari has a native remove event which actually removes DOM elements, // so we have to use triggerHandler instead of trigger (#3037). $("*", this).add(this).each(function() { $(this).triggerHandler("remove"); }); return _remove.apply(this, arguments...
(this._init && this._init(options, element));
(this._create && this._create(options, element)); (this._init && this._init());
(function($) {var _remove = $.fn.remove;$.fn.remove = function() { // Safari has a native remove event which actually removes DOM elements, // so we have to use triggerHandler instead of trigger (#3037). $("*", this).add(this).each(function() { $(this).triggerHandler("remove"); }); return _remove.apply(this, arguments...
$.each( items, function( index, item ) { self._renderItem( ul, item ); });
this._renderMenu( ul, items );
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "list", "aria-haspopup": "true" }) ...
_renderMenu: function( ul, items ) { var self = this; $.each( items, function( index, item ) { self._renderItem( ul, item ); }); },
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "list", "aria-haspopup": "true" }) ...
APE.namespace("APE.dom");APE.namespace("APE.dom").mixin(function(){var A="ownerDocument",C=document,D=C.documentElement,B=C.defaultView;return{TEXT_CONTENT:typeof D.textContent==="string"?"textContent":"innerText",OWNER_DOCUMENT:D&&typeof D[A]!=="undefined"?A:"document",IS_COMPUTED_STYLE:(typeof B!="undefined"&&"getCom...
APE.namespace("APE.dom").mixin(function(){var A="ownerDocument",C=document,D=C.documentElement,B=C.defaultView;return{TEXT_CONTENT:typeof D.textContent==="string"?"textContent":"innerText",OWNER_DOCUMENT:D&&typeof D[A]!=="undefined"?A:"document",IS_COMPUTED_STYLE:(typeof B!="undefined"&&"getComputedStyle" in B)}}());AP...
APE.namespace("APE.dom");APE.namespace("APE.dom").mixin(function(){var A="ownerDocument",C=document,D=C.documentElement,B=C.defaultView;return{TEXT_CONTENT:typeof D.textContent==="string"?"textContent":"innerText",OWNER_DOCUMENT:D&&typeof D[A]!=="undefined"?A:"document",IS_COMPUTED_STYLE:(typeof B!="undefined"&&"getCom...
should( 'preserve key in callback after save.', function() { stop(); var id = 'donotdie'; store.save({key:id, foo:'bar'}, function(o){ equals(id, o.key); start(); }); });
context('Lawnchair', function(){ var me = {name:'brian', age:30}; should( 'be empty.', function(){ stop(); store.nuke(); store.all('equals(r.length, 0); start();'); }); should("store a doc to be deleted by the nuke callback", function() { stop(); store.save({name: "Nick", age: 29}, function(){ store.all('e...
var self = this;
var self = this, doc = this.element[ 0 ].ownerDocument;
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
case 16: case 17:
case keyCode.SHIFT: case keyCode.CONTROL:
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
.appendTo( this.element.parent() )
.appendTo( "body", doc )
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
if ( self.element[0] != document.activeElement ) {
if ( self.element[0] !== doc.activeElement ) {
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
if ( key == "source" ) {
if ( key === "source" ) {
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
var array = this.options.source;
array = this.options.source;
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
return matcher.test( value.value || value.label || value );
return matcher.test( value.label || value.value || value );
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
} else if ( typeof this.options.source == "string" ) { var url = this.options.source;
} else if ( typeof this.options.source === "string" ) { url = this.options.source;
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...
this._suggest( content );
(function( $ ) {$.widget( "ui.autocomplete", { options: { minLength: 1, delay: 300 }, _create: function() { var self = this; this.element .addClass( "ui-autocomplete-input" ) .attr( "autocomplete", "off" ) // TODO verify these actually work as intended .attr({ role: "textbox", "aria-autocomplete": "li...