rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
return external? function() { try { external.apply(null, arguments); } catch (e) { fluid.log("Exception applying external fetchResources callback: " + e); } internal.apply(null, arguments); } : internal; | ": " + fluid.transform(tagstack.splice(1, excess), function(lump) {return debugLump(lump);}).join(", ")); | return external? function() { try { external.apply(null, arguments); } catch (e) { fluid.log("Exception applying external fetchResources callback: " + e); } internal.apply(null, arguments); // call the internal callback without fail } : i... |
matches.sort(function(speca, specb) { var p1 = specb.intersect - speca.intersect; return p1 === 0? speca.uncess - specb.uncess : p1; | visitComponents(thatStack, function(component, name) { if (context === name || context === component.typeName || context === component.nickName) { foundComponent = component; return true; } if (component.options && component.options.components && component.options.components[context] && !component[context]) { foundComp... | matches.sort(function(speca, specb) { var p1 = specb.intersect - speca.intersect; return p1 === 0? speca.uncess - specb.uncess : p1; }); |
": " + fluid.transform(tagstack.splice(1, excess), function(lump) {return debugLump(lump);}).join(", ")); | return function(container, options) { var that = fluid.initView(name, container, options); fluid.initDependents(that); return that; }; | ": " + fluid.transform(tagstack.splice(1, excess), function(lump) {return debugLump(lump);}).join(", ")); |
editables.each(function (idx, editable) { editors.push(fluid.inlineEdit($(editable), options)); }); | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | editables.each(function (idx, editable) { editors.push(fluid.inlineEdit($(editable), options)); }); |
var node = fluid.dom.iterateDom(rootNode, function(node) { | (function ($, fluid) { function debugPosition(component) { return "as child of " + (component.parent.fullID? "component with full ID " + component.parent.fullID : "root"); } fluid.each = function (source, func) { if (fluid.isArrayable(source)) { for (var i = 0; i < source.length; ++ i) { if (func(source[i], i) === f... | var node = fluid.dom.iterateDom(rootNode, function(node) { // NB, in Firefox at least, comment and cdata nodes cannot be distinguished! return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); |
var value = node.nodeValue; if (value.indexOf("[CDATA[") === 0) { return value.substring(6, value.length - 2); } else { return value; } } fluid.extractTemplate = function(node, armouring) { if (!armouring) { return node.innerHTML; } else { return findNodeValue(node); } }; fluid.render = function(source, target, tree,... | var node = fluid.dom.iterateDom(rootNode, function(node) { // NB, in Firefox at least, comment and cdata nodes cannot be distinguished! return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); | |
visitComponents(searchStack, function(component) { contextNames[component.typeName] = true; }); | topThat.events[eventName].addListener(function(args) { var resolved = fluid.resolveDemands(thatStack, eventName, args); listener.apply(null, resolved.args); }, namespace, predicate); | visitComponents(searchStack, function(component) { contextNames[component.typeName] = true; }); |
adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { jqUnit.notVisible("Confiration dialog is now invisible", adminUsers.userListEditor.details.confirmation.dlg); jqUnit.assertEquals("User Name should still be", "New Name", adminUsers.locate("userName").val()); }); | return function () { adminUsers.userListEditor.details.events.afterRender.removeListener("initialSelect"); adminUsers.locate("userName").val("New Name").change(); adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.ad... | adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { jqUnit.notVisible("Confiration dialog is now invisible", adminUsers.userListEditor.details.confirmation.dlg); jqUnit.assertEquals("User Name should sti... |
test("position, left on window", function() { var el = $('<div></div>').dialog({ position: "left" }); | test("position, top on window", function() { var el = $('<div></div>').dialog({ position: "top" }); | test("position, left on window", function() { var el = $('<div></div>').dialog({ position: "left" }); var dialog = el.dialog('widget'); var offset = dialog.offset(); same(offset.left, 0); same(offset.top, Math.floor($(window).height() / 2 - dialog.outerHeight() / 2) + $(window).scrollTop()); el.remove();}); |
same(offset.left, 0); same(offset.top, Math.floor($(window).height() / 2 - dialog.outerHeight() / 2) + $(window).scrollTop()); | same(offset.left, Math.floor($(window).width() / 2 - dialog.outerWidth() / 2) + $(window).scrollLeft()); same(offset.top, $(window).scrollTop()); | test("position, left on window", function() { var el = $('<div></div>').dialog({ position: "left" }); var dialog = el.dialog('widget'); var offset = dialog.offset(); same(offset.left, 0); same(offset.top, Math.floor($(window).height() / 2 - dialog.outerHeight() / 2) + $(window).scrollTop()); el.remove();}); |
setTimeout(function() { if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { | $(document).bind($.ui.dialog.overlay.events, function(event) { | setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { // stop events if the z-index of the target is <= the z-index of the overlay return ($(event.target).zIndex() >= ... |
} }, 1); | setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { // stop events if the z-index of the target is <= the z-index of the overlay return ($(event.target).zIndex() >= ... | |
return ($(event.target).zIndex() > $.ui.dialog.overlay.maxZ); | return ($(event.target).zIndex() >= $.ui.dialog.overlay.maxZ); | setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { // stop events if the z-index of the target is <= the z-index of the overlay return ($(event.target).zIndex() > $... |
test( "._trigger() - provide event and ui", function() { expect( 7 ); | test( "._trigger() - cancelled callback", function() { $.widget( "ui.testWidget", { _create: function() {} }); | test( "._trigger() - provide event and ui", function() { expect( 7 ); var originalEvent = $.Event( "originalTest" ); $.widget( "ui.testWidget", { _create: function() {}, testEvent: function() { var ui = { foo: "bar", baz: { qux: 5, quux: 20 } }; this._trigger( "foo", originalEvent, ui ); ... |
var originalEvent = $.Event( "originalTest" ); $.widget( "ui.testWidget", { _create: function() {}, testEvent: function() { var ui = { foo: "bar", baz: { qux: 5, quux: 20 } }; this._trigger( "foo", originalEvent, ui ); same( ui, { foo: "notbar", baz: { qux: 10, quux: "jQuery" } }, "ui object modified" ); | $( "#widget" ).testWidget({ foo: function( event, ui ) { return false; | test( "._trigger() - provide event and ui", function() { expect( 7 ); var originalEvent = $.Event( "originalTest" ); $.widget( "ui.testWidget", { _create: function() {}, testEvent: function() { var ui = { foo: "bar", baz: { qux: 5, quux: 20 } }; this._trigger( "foo", originalEvent, ui ); ... |
$( "#widget" ).bind( "testwidgetfoo", function( event, ui ) { equal( event.originalEvent, originalEvent, "original event object passed" ); same( ui, { foo: "bar", baz: { qux: 5, quux: 20 } }, "ui hash passed" ); ui.foo = "notbar"; }); $( "#widget-wrapper" ).bind( "testwidgetfoo", function( event, ui ) { equal( event.or... | same( $( "#widget" ).data( "testWidget" )._trigger( "foo" ), false, "_trigger returns false when callback returns false" ); | test( "._trigger() - provide event and ui", function() { expect( 7 ); var originalEvent = $.Event( "originalTest" ); $.widget( "ui.testWidget", { _create: function() {}, testEvent: function() { var ui = { foo: "bar", baz: { qux: 5, quux: 20 } }; this._trigger( "foo", originalEvent, ui ); ... |
return factory(player, function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, 'jwplayer.stop', arg); break; default: $.fn.jwplayerController.stop(player); break; } }); | $(window).resize(function() { resizeBar(options); }); | return factory(player, function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, 'jwplayer.stop', arg); break; default: $.fn.jwplayerController.stop(player); break; } }); |
setTimeout(function() { | _interval = setInterval(function() { | setTimeout(function() { _positionHandler(); }, 25); |
}, 25); | }, 100); | setTimeout(function() { _positionHandler(); }, 25); |
return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, arg); break; case "boolean": $.fn.jwplayerController.mute(player, arg); break; default: return $.fn.jwplayerController.mute(player); | return function(type, listener) { try { for (var lisenterIndex in player.listeners[type]) { if (player.listeners[type][lisenterIndex] == listener) { player.listeners[type].slice(lisenterIndex, lisenterIndex + 1); break; } } } catch (err) { $.fn.jwplayerUtils.log("error", err); | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, arg); break; case "boolean": $.fn.jwplayerController.mute(player, arg); break; default: return $.fn.jwplayerController.mute(player); } ... |
return jwplayer(player.id); | return false; | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, arg); break; case "boolean": $.fn.jwplayerController.mute(player, arg); break; default: return $.fn.jwplayerController.mute(player); } ... |
return function(arg) { addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_ERROR, arg); return jwplayer(player); | return function() { return $.fn.jwplayerController.mediaInfo(player).duration; | return function(arg) { addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_ERROR, arg); return jwplayer(player); }; |
return function () { adminUsers.userListEditor.details.events.afterRender.removeListener("initialSelect"); adminUsers.locate("userName").val("New Name").change(); adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.ad... | adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { jqUnit.notVisible("Confirmation dialog is now invisible", adminUsers.userListEditor.details.confirmation.dlg); jqUnit.assertEquals("User Na... | return function () { adminUsers.userListEditor.details.events.afterRender.removeListener("initialSelect"); adminUsers.locate("userName").val("New Name").change(); adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(func... |
jQuery(jQuery(adminUsers.userListEditor.list.options.selectors.row)[1]).click(); start(); }; | adminUsers.userListEditor.details.confirmation.locate("cancel", adminUsers.userListEditor.details.confirmation.dlg).click(); }); | return function () { adminUsers.userListEditor.details.events.afterRender.removeListener("initialSelect"); adminUsers.locate("userName").val("New Name").change(); adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(func... |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | return this.each(function() { if ( type === "string" ) { var className, i = 0, self = jQuery(this), state = stateVal, classNames = value.split( rspace ); while ( (className = classNames[ i++ ]) ) { state = isBool ? state : !self.hasClass( className ); self[ state ? "addClass" : "removeClass" ]( className ); } } els... | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playlist: [], state: jwplayer.api.eve... | jwplayer.html5.playlistitem = function(config) { var _playlistitem = { author: "", date: "", description: "", image: "", link: "", mediaid: "", tags: "", title: "", provider: "", file: "", streamer: "", duration: -1, start: 0, currentLevel: -1, levels: [] | (function(jwplayer) { var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playli... |
var _media; var _eventDispatcher = new jwplayer.html5.eventdispatcher(); var _components = ["display", "logo", "controlbar"]; | (function(jwplayer) { var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playli... | |
jwplayer.utils.extend(_model, _eventDispatcher); for (var option in options) { if (typeof options[option] == "string") { var type = /color$/.test(option) ? "color" : null; options[option] = jwplayer.html5.utils.typechecker(options[option], type); } var config = _model.config; var path = option.split("."); for (var edg... | for (var property in _playlistitem) { if (config[property] !== undefined) { _playlistitem[property] = config[property]; | (function(jwplayer) { var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playli... |
for (var index in _configurableStateVariables) { var configurableStateVariable = _configurableStateVariables[index]; _model[configurableStateVariable] = _model.config[configurableStateVariable]; | if (_playlistitem.levels.length === 0) { _playlistitem.levels[0] = new jwplayer.html5.playlistitemlevel(_playlistitem); | (function(jwplayer) { var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playli... |
var pluginorder = _components.concat([]); if (_model.plugins !== undefined) { var userplugins = _model.plugins.split(","); for (var userplugin in userplugins){ pluginorder.push(userplugin.replace(/^\s+|\s+$/g,"")); } } _model.plugins = { order: pluginorder, config: { display: { position: jwplayer.html5.view.positions... | return _playlistitem; }; | (function(jwplayer) { var _configurableStateVariables = ["width", "height", "start", "duration", "volume", "mute", "fullscreen", "item", "plugins"]; jwplayer.html5.model = function(api, container, options) { var _api = api; var _container = container; var _model = { id: _container.id, media: undefined, playli... |
return this.map(function(){ var cur = this; while ( cur && cur.ownerDocument ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { jQuery.data(cur, "closest", closer); return cur; } cur = cur.parentNode; closer++; } }); | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | return this.map(function(){ var cur = this; while ( cur && cur.ownerDocument ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { jQuery.data(cur, "closest", closer); return cur; } cur = cur.parentNode; closer++; } }); |
test("beforeClose", function() { expect(9); | test("beforeclose", function() { expect(10); | test("beforeClose", function() { expect(9); el = $('<div></div>').dialog({ beforeClose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
beforeClose: function(ev, ui) { | beforeclose: function(ev, ui) { | test("beforeClose", function() { expect(9); el = $('<div></div>').dialog({ beforeClose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
isOpen('beforeClose callback should prevent dialog from closing'); | isOpen('beforeclose (deprecated) callback should prevent dialog from closing'); | test("beforeClose", function() { expect(9); el = $('<div></div>').dialog({ beforeClose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
el = $('<div></div>').dialog().bind('dialogbeforeclose', function(ev, ui) { ok(true, '.dialog("close") triggers dialogbeforeclose event'); equals(this, el[0], "context of event"); same(ui, {}, 'ui hash in event'); | el = $('<div></div>').dialog(); el.dialog('option', 'beforeclose', function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); | test("beforeClose", function() { expect(9); el = $('<div></div>').dialog({ beforeClose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
isOpen('dialogbeforeclose event should prevent dialog from closing'); | isOpen('beforeclose (deprecated) callback should prevent dialog from closing'); | test("beforeClose", function() { expect(9); el = $('<div></div>').dialog({ beforeClose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
.click(function( event ) { if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) { return; } event.preventDefault(); self.select( event ); }); | .mouseenter(function( event ) { self.activate( event, $(this).parent() ); }) | .click(function( event ) { if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) { return; } // temporary event.preventDefault(); self.select( event ); }); |
that.closeButton.button.click(function() { updateAuthoritatively(that, that.model.baseRecord); buttonAdjustor(); that.popup.close(); return false; }); | function() { updateAuthoritatively(that, that.model.baseRecord); buttonAdjustor(); that.popup.close(); }); | that.closeButton.button.click(function() { updateAuthoritatively(that, that.model.baseRecord); buttonAdjustor(); that.popup.close(); return false; }); |
fluid.each(resourceSpecs, function (spec, key) { spec.options.success = cspace.util.composeCallbacks(spec.options.success, key === mainWait ? indicator.show : indicator.update); }); | fluid.each(uispec, function (val, key) { if (!val) { return; } if (typeof val === "string") { newspec[key] = val; } else if (val.selection) { newspec[key] = { valuebinding: val.selection, decorators: [{ func: "cspace.util.nameForValueFinder", type: "fluid", options: { list: val.optionlist, names: val.optionnames } }] }... | fluid.each(resourceSpecs, function (spec, key) { spec.options.success = cspace.util.composeCallbacks(spec.options.success, key === mainWait ? indicator.show : indicator.update); }); |
var dialogZ = $(event.target).parents('.ui-dialog').css('zIndex') || 0; return (dialogZ > $.ui.dialog.overlay.maxZ); | return ($(event.target).zIndex() > $.ui.dialog.overlay.maxZ); | setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { var dialogZ = $(event.target).parents('.ui-dialog').css('zIndex') || 0; return (dialogZ > $.ui.dialog.overlay.max... |
function() { updateAuthoritatively(that, that.model.baseRecord); buttonAdjustor(); that.popup.close(); }); | function(response) { updateAuthoritatively(that, response); buttonAdjustor(); }); | function() { updateAuthoritatively(that, that.model.baseRecord); buttonAdjustor(); that.popup.close(); }); |
setTimeout(function() { _bufferFull = false; _bufferingComplete = false; _setState(jwplayer.api.events.state.BUFFERING); _startInterval(); try { _container.currentTime = 0; } catch (err) { } }, 25); | (function(jwplayer) { jwplayer.html5.playlist = function(config) { var _playlist = []; if (config.playlist && config.playlist.length > 0) { _playlist = config.playlist; } else { _playlist.push(new jwplayer.html5.playlistitem(config)); _playlist.push(new jwplayer.html5.playlistitem(config)); _playlist.push(new jwplayer... | setTimeout(function() { _bufferFull = false; _bufferingComplete = false; _setState(jwplayer.api.events.state.BUFFERING); _startInterval(); try { _container.currentTime = 0; } catch (err) { } }, 25); |
test("beforeclose", function() { expect(10); | test("beforeClose", function() { expect(14); | test("beforeclose", function() { expect(10); el = $('<div></div>').dialog({ beforeclose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
beforeclose: function(ev, ui) { | beforeClose: function(ev, ui) { | test("beforeclose", function() { expect(10); el = $('<div></div>').dialog({ beforeclose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
isOpen('beforeclose (deprecated) callback should prevent dialog from closing'); | isOpen('beforeClose callback should prevent dialog from closing'); | test("beforeclose", function() { expect(10); el = $('<div></div>').dialog({ beforeclose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
el.dialog('option', 'beforeclose', function(ev, ui) { | el.dialog('option', 'beforeClose', function(ev, ui) { | test("beforeclose", function() { expect(10); el = $('<div></div>').dialog({ beforeclose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
isOpen('beforeclose (deprecated) callback should prevent dialog from closing'); | isOpen('beforeClose callback should prevent dialog from closing'); el.remove(); el = $('<div></div>').dialog().bind('dialogbeforeclose', function(ev, ui) { ok(true, '.dialog("close") triggers dialogbeforeclose event'); equals(this, el[0], "context of event"); same(ui, {}, 'ui hash in event'); return false; }); el.dial... | test("beforeclose", function() { expect(10); el = $('<div></div>').dialog({ beforeclose: function(ev, ui) { ok(true, '.dialog("close") fires beforeClose callback'); equals(this, el[0], "context of callback"); equals(ev.type, 'dialogbeforeclose', 'event type in callback'); same(ui, {}, 'ui hash in callback'); ... |
jwplayer.html5.playlistitem = function(config) { var _playlistitem = { author: "", date: "", description: "", image: "", link: "", mediaid: "", tags: "", title: "", provider: "", file: "", streamer: "", duration: -1, start: 0, currentLevel: -1, levels: [] }; for (var property in _playlistitem) { if (config[property]... | jwplayer.html5.playlist = function(config) { var _playlist = []; if (config.playlist && config.playlist.length > 0) { _playlist = config.playlist; } else { _playlist.push(new jwplayer.html5.playlistitem(config)); | (function(jwplayer) { jwplayer.html5.playlistitem = function(config) { var _playlistitem = { author: "", date: "", description: "", image: "", link: "", mediaid: "", tags: "", title: "", provider: "", file: "", streamer: "", duration: -1, start: 0, currentLevel: -1, levels: [] }; ... |
if (_playlistitem.levels.length === 0) { _playlistitem.levels[0] = new jwplayer.html5.playlistitemlevel(_playlistitem); } return _playlistitem; }; | return _playlist; }; | (function(jwplayer) { jwplayer.html5.playlistitem = function(config) { var _playlistitem = { author: "", date: "", description: "", image: "", link: "", mediaid: "", tags: "", title: "", provider: "", file: "", streamer: "", duration: -1, start: 0, currentLevel: -1, levels: [] }; ... |
return _playlist; | for (var index in _configurableStateVariables) { var configurableStateVariable = _configurableStateVariables[index]; _model[configurableStateVariable] = _model.config[configurableStateVariable]; } if (jwplayer.utils.isIOS()){ _model.config.chromeless = true; } var pluginorder = _components.concat([]); if (_model.plu... | (function(jwplayer) { jwplayer.html5.playlist = function(config) { var _playlist = []; if (config.playlist && config.playlist.length > 0) { _playlist = config.playlist; } else { _playlist.push(new jwplayer.html5.playlistitem(config)); } return _playlist; }; })(jwplayer); |
that.confirmation.open(function (confirmation) { return function () { | return function () { | that.confirmation.open(function (confirmation) { return function () { if (confirmation.dlg.dialog("isOpen")) { confirmation.close(); } else { confirmation.options... |
confirmation.options = oldOptions; | var strings = confirmation.options.strings; fluid.model.copyModel(confirmation.options, oldOptions); confirmation.options.strings = strings; fluid.model.copyModel(confirmation.options.strings, oldStrings); | that.confirmation.open(function (confirmation) { return function () { if (confirmation.dlg.dialog("isOpen")) { confirmation.close(); } else { confirmation.options... |
}); | that.confirmation.open(function (confirmation) { return function () { if (confirmation.dlg.dialog("isOpen")) { confirmation.close(); } else { confirmation.options... | |
adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { | adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { | adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { jqUnit.notVisible("Confiration dialog is now invisible", adminUsers.u... |
adminUsers.userListEditor.details.confirmation.locate("cancel", adminUsers.userListEditor.details.confirmation.dlg).click(); }); | adminUsers.userListEditor.details.confirmation.events.afterOpen.addListener(function () { adminUsers.userListEditor.details.confirmation.events.afterClose.addListener(function () { jqUnit.notVisible("Confiration dialog is now invisible", adminUsers.u... | |
if (_wrapper.width && _wrapper.height && (_model.width !== getNumber(_wrapper.width) || _model.height !== getNumber(_wrapper.height))) { _resize(getNumber(_wrapper.width), getNumber(_wrapper.height)); | if ((typeof _model.width == "string" && _model.width.lastIndexOf("%") > -1) || (typeof _model.height == "string" && _model.height.lastIndexOf("%") > -1)) { return; } if (_wrapper.width && _wrapper.height && (_model.width !== parseDimension(_wrapper.width) || _model.height !== parseDimension(_wrapper.height))) { _resize... | _resizeInterval = setInterval(function() { if (_wrapper.width && _wrapper.height && (_model.width !== getNumber(_wrapper.width) || _model.height !== getNumber(_wrapper.height))) { _resize(getNumber(_wrapper.width), getNumber(_wrapper.height)); } else { var rect = _wrapper.getBoundingClientRect(); i... |
var dialog = el.closest('.ui-dialog'); | var dialog = el.dialog('widget'); | test("position, left on window", function() { var el = $('<div></div>').dialog({ position: "left" }); var dialog = el.closest('.ui-dialog'); var offset = dialog.offset(); same(offset.left, 0); same(offset.top, Math.floor($(window).height() / 2 - dialog.outerHeight() / 2) + $(window).scrollTop()); el.remove();}); |
test("resizable", function() { expect(4); el = $('<div></div>').dialog(); shouldresize("[default]"); el.dialog('option', 'resizable', false); shouldnotresize('disabled after init'); el.remove(); el = $('<div></div>').dialog({ resizable: false }); shouldnotresize("disabled in init options"); el.dialog('option', 'resiz... | test("position, left on window", function() { var el = $('<div></div>').dialog({ position: "left" }); var dialog = el.closest('.ui-dialog'); var offset = dialog.offset(); same(offset.left, 0); same(offset.top, Math.floor($(window).height() / 2 - dialog.outerHeight() / 2) + $(window).scrollTop()); | test("resizable", function() { expect(4); el = $('<div></div>').dialog(); shouldresize("[default]"); el.dialog('option', 'resizable', false); shouldnotresize('disabled after init'); el.remove(); el = $('<div></div>').dialog({ resizable: false }); shouldnotresize("disabled in init options"); el.dialog('option', 're... |
addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME, arg); | addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_MUTE, arg); | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME, arg); break; case "number": $.fn.jwplayerController.volume(player, arg); break; case "string": $.fn.jwplayerController.volume(player, pa... |
case "number": $.fn.jwplayerController.volume(player, arg); break; case "string": $.fn.jwplayerController.volume(player, parseInt(arg, 10)); | case "boolean": $.fn.jwplayerController.mute(player, arg); | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME, arg); break; case "number": $.fn.jwplayerController.volume(player, arg); break; case "string": $.fn.jwplayerController.volume(player, pa... |
return $.fn.jwplayerController.volume(player); | return $.fn.jwplayerController.mute(player); | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME, arg); break; case "number": $.fn.jwplayerController.volume(player, arg); break; case "string": $.fn.jwplayerController.volume(player, pa... |
return jwplayer(player); | return jwplayer(player.id); | return function(arg) { switch ($.fn.jwplayerUtils.typeOf(arg)) { case "function": addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_VOLUME, arg); break; case "number": $.fn.jwplayerController.volume(player, arg); break; case "string": $.fn.jwplayerController.volume(player, pa... |
return false; | $('.filterLDAP').click(function() { if ($(this).hasClass('ui-state-disabled')) return; var el = $(this).parent().find('input.filter'); var filter = el.val(); if (filter) $.get(pluginRoot + '/.json', { 'filter' : filter }, renderData, 'json'); }); | |
fluid.each(options.mergePolicy, function(value, key) { if (fluid.mergePolicyIs(value, "noexpand")) { preserveList.push(key); } }); | return function() { var invokeSpec = fluid.embodyDemands(fluid.staticEnvironment, demandSpec, arguments); return fluid.invokeGlobalFunction(invokeSpec.funcName, invokeSpec.args, environment); }; | fluid.each(options.mergePolicy, function(value, key) { if (fluid.mergePolicyIs(value, "noexpand")) { preserveList.push(key); } }); |
setTimeout(function() { callback(resourceSpecs); }, 1); | return external? function() { try { external.apply(null, arguments); } catch (e) { fluid.log("Exception applying external fetchResources callback: " + e); } internal.apply(null, arguments); } : internal; | setTimeout(function() { callback(resourceSpecs); }, 1); |
return function() { var invokeSpec = fluid.embodyDemands(fluid.staticEnvironment, demandSpec, arguments); return fluid.invokeGlobalFunction(invokeSpec.funcName, invokeSpec.args, environment); }; | visitComponents(searchStack, function(component) { contextNames[component.typeName] = true; }); | return function() { var invokeSpec = fluid.embodyDemands(fluid.staticEnvironment, demandSpec, arguments); return fluid.invokeGlobalFunction(invokeSpec.funcName, invokeSpec.args, environment); }; |
return external? function() { try { external.apply(null, arguments); } catch (e) { fluid.log("Exception applying external fetchResources callback: " + e); } internal.apply(null, arguments); } : internal; | return function(options) { var that = fluid.initLittleComponent(name, options); fluid.initDependents(that); return that; }; | return external? function() { try { external.apply(null, arguments); } catch (e) { fluid.log("Exception applying external fetchResources callback: " + e); } internal.apply(null, arguments); // call the internal callback without fail } : i... |
fluid.each(array, function(el) { togo[el] = true; }); | setTimeout(function() { callback(resourceSpecs); }, 1); | fluid.each(array, function(el) { togo[el] = true; }); |
;(function($) { var helper = {}, current, title, tID, IE = $.browser.msie && /MSIE\s(5\.5|6\.)/.test(navigator.userAgent), track = false; $.tooltip = { blocked: false, defaults: { delay: 200, showURL: true, extraClass: "", top: 15, left: 15, id: "tooltip" }, block: function() { $.tooltip.blocked = !$.tooltip.bl... | fluid.each(array, function(el) { togo[el] = true; }); | ;(function($) { // the tooltip element var helper = {}, // the current tooltipped element current, // the title of the current element, used for restoring title, // timeout id for delayed tooltips tID, // IE 5.5 or 6 IE = $.browser.msie && /MSIE\s(5\.5|6\.)/.test(navigator.userAgent), // flag for mouse track... |
matches.sort(function(speca, specb) {return specb.count - speca.count;}); | return function(container, options) { var that = fluid.initView(name, container, options); fluid.initDependents(that); return that; }; | matches.sort(function(speca, specb) {return specb.count - speca.count;}); |
fluid.each(preserveList, function(path) { var pen = fluid.model.getPenultimate(options, path); var value = pen.root[pen.last]; delete pen.root[pen.last]; fluid.model.setBeanValue(preserve, path, value); }); | return function() { var invokeSpec = fluid.embodyDemands(thatStack, demandspec, arguments); return fluid.invokeGlobalFunction(invokeSpec.funcName, invokeSpec.args, environment); }; | fluid.each(preserveList, function(path) { var pen = fluid.model.getPenultimate(options, path); var value = pen.root[pen.last]; delete pen.root[pen.last]; fluid.model.setBeanValue(preserve, path, value); }); |
setTimeout(function() { callback(resourceSpecs); }, 1); | else return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); | setTimeout(function() { callback(resourceSpecs); }, 1); |
togo = togo.replace(/\<(\S+)[^\>\s]*\>/g, function(match) { return match.toLowerCase(); }); | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | togo = togo.replace(/\<(\S+)[^\>\s]*\>/g, function(match) { return match.toLowerCase(); }); |
fluid.each(map, function(value, key) { | (function ($, fluid) { function debugPosition(component) { return "as child of " + (component.parent.fullID? "component with full ID " + component.parent.fullID : "root"); } fluid.arrayToHash = function(array) { var togo = {}; fluid.each(array, function(el) { togo[el] = true; }); return togo; }; function computeFull... | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); |
} } return component; } function fixupTree(tree, model) { if (tree.componentType === undefined) { tree = unzipComponent(tree, model); } if (tree.componentType !== "UIContainer" && !tree.parent) { tree = {children: [tree]}; } if (tree.children) { tree.childmap = {}; for (var i = 0; i < tree.children.length; ++ i) { v... | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | |
return this.each(function() { $.data(this, "tooltip-settings", settings); this.tooltipText = this.title; $(this).removeAttr("title"); this.alt = ""; }) | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | return this.each(function() { $.data(this, "tooltip-settings", settings); // copy tooltip into its own expando and remove the title this.tooltipText = this.title; $(this).removeAttr("title"); // also remove alt attribute to prevent default tooltip in IE this.alt = ""; }) |
return function(container, options) { var that = fluid.initView(name, container, options); | return function(options) { var that = fluid.initLittleComponent(name, options); | return function(container, options) { var that = fluid.initView(name, container, options); fluid.initDependents(that); return that; }; |
fluid.each(preserveList, function(path) { var preserved = fluid.model.getBeanValue(preserve, path); if (preserved !== undefined) { fluid.model.setBeanValue(target, path, preserved) } }); | topThat.events[eventName].addListener(function(args) { var resolved = fluid.resolveDemands(thatStack, eventName, args); listener.apply(null, resolved.args); }, namespace, predicate); | fluid.each(preserveList, function(path) { var preserved = fluid.model.getBeanValue(preserve, path); if (preserved !== undefined) { fluid.model.setBeanValue(target, path, preserved) } }); |
fluid.each(array, function(el) { | (function ($, fluid) { function debugPosition(component) { return "as child of " + (component.parent.fullID? "component with full ID " + component.parent.fullID : "root"); } fluid.arrayToHash = function(array) { var togo = {}; fluid.each(array, function(el) { | fluid.each(array, function(el) { togo[el] = true; }); |
return togo; }; function computeFullID(component) { var togo = ""; var move = component; if (component.children === undefined) { togo = component.ID + (component.localID !== undefined? component.localID : ""); move = component.parent; } while (move.parent) { var parent = move.parent; if (move.fullID !== undefined) { ... | fluid.each(array, function(el) { togo[el] = true; }); | |
topThat.events[eventName].addListener(function(args) { var resolved = fluid.resolveDemands(thatStack, eventName, args); listener.apply(null, resolved.args); }, namespace, predicate); | return fluid.withNewComponent(that || {typeName: functionName}, function(thatStack) { var invokeSpec = fluid.resolveDemands(thatStack, functionName, args, args[0]); return fluid.invokeGlobalFunction(invokeSpec.funcName, invokeSpec.args, environment); }); | topThat.events[eventName].addListener(function(args) { var resolved = fluid.resolveDemands(thatStack, eventName, args); listener.apply(null, resolved.args); }, namespace, predicate); |
return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); | fluid.each(array, function(el) { togo[el] = true; }); | return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); |
return function(options) { var that = fluid.initLittleComponent(name, options); fluid.initDependents(that); return that; }; | return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); | return function(options) { var that = fluid.initLittleComponent(name, options); fluid.initDependents(that); return that; }; |
return function(container, options) { var that = fluid.initView(name, container, options); fluid.initDependents(that); return that; }; | fluid.each(options.mergePolicy, function(value, key) { if (fluid.mergePolicyIs(value, "noexpand")) { preserveList.push(key); } }); | return function(container, options) { var that = fluid.initView(name, container, options); fluid.initDependents(that); return that; }; |
fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | fluid.each(array, function(el) { togo[el] = true; }); | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); |
fluid.each(array, function(el) { togo[el] = true; }); | (function ($) { $("head").append("<style type='text/css'>.fl-progEnhance-basic, .fl-ProgEnhance-basic { display: none; }</style>"); })(jQuery); | fluid.each(array, function(el) { togo[el] = true; }); |
return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}] }; }); | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID... |
else return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); | togo = (options.noCopy? fluid.each: fluid.transform)(obj, function(value) {return recurse(value);}); | else return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); |
return function(options) { var that = fluid.initLittleComponent(name, options); fluid.initDependents(that); return that; }; | fluid.each(preserveList, function(path) { var pen = fluid.model.getPenultimate(options, path); var value = pen.root[pen.last]; delete pen.root[pen.last]; fluid.model.setBeanValue(preserve, path, value); }); | return function(options) { var that = fluid.initLittleComponent(name, options); fluid.initDependents(that); return that; }; |
return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); |
fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); | (function() { nameRegex = /([^\s\/>]+)/g; attrStartRegex = /\s*([\w:_][\w:_\-\.]*)/gm; attrValRegex = /\"([^\"]*)\"\s*/gm; attrValIERegex = /([^\>\s]+)\s*/gm; closeRegex = /\s*<\ XMLP.prototype._parseElement = function(iB) { var iE, iDE, iRet; var iType, strN, iLast; iDE = iE = this.m_xml.indexOf(">", iB); if (iE == ... | fluid.each(map, function(value, key) { upgradeBound(component, key, model); }); |
return function (messagecodes, args) { if (typeof(messagecodes) === "string") { messagecodes = [messagecodes]; } for (var i = 0; i < messagecodes.length; ++ i) { var code = messagecodes[i]; var message = messageBase[code]; if (message === undefined) { continue; } return resolveFunc(message, args); } return "[Message st... | return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); | return function (messagecodes, args) { if (typeof(messagecodes) === "string") { messagecodes = [messagecodes]; } for (var i = 0; i < messagecodes.length; ++ i) { var code = messagecodes[i]; var message = messageBase[code]; ... |
togo = (options.noCopy? fluid.each: fluid.transform)(obj, function(value) {return recurse(value);}); | (function ($) { $("head").append("<style type='text/css'>.fl-progEnhance-basic, .fl-ProgEnhance-basic { display: none; }</style>"); })(jQuery); | togo = (options.noCopy? fluid.each: fluid.transform)(obj, function(value) {return recurse(value);}); |
return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); | fluid.each(preserveList, function(path) { var preserved = fluid.model.getBeanValue(preserve, path); if (preserved !== undefined) { fluid.model.setBeanValue(target, path, preserved) } }); | return (options.noCopy? fluid.each : fluid.transform)(obj, function(value, key) { return resolveEnvironmentImpl(value, options); }); |
return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}] }; }); | return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); | return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID... |
return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); | (function ($, fluid) { fluid.parseTemplate = function(template, baseURL, scanStart, cutpoints_in, opts) { opts = opts || {}; var t; var parser; var tagstack; var lumpindex = 0; var nestingdepth = 0; var justended = false; var defstart = -1; var defend = -1; var parseOptions = opts; var baseURL; var debugMode = fa... | return fluid.transform(args, function(arg, index) { upgradeBound(args, index, renderOptions.model); return args[index].value; }); |
var node = fluid.dom.iterateDom(rootNode, function(node) { return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); | return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}] }; }); | var node = fluid.dom.iterateDom(rootNode, function(node) { // NB, in Firefox at least, comment and cdata nodes cannot be distinguished! return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); |
(function ($) { $("head").append("<style type='text/css'>.fl-progEnhance-basic, .fl-ProgEnhance-basic { display: none; }</style>"); })(jQuery); | (function() { nameRegex = /([^\s\/>]+)/g; attrStartRegex = /\s*([\w:_][\w:_\-\.]*)/gm; attrValRegex = /\"([^\"]*)\"\s*/gm; attrValIERegex = /([^\>\s]+)\s*/gm; closeRegex = /\s*<\ XMLP.prototype._parseElement = function(iB) { var iE, iDE, iRet; var iType, strN, iLast; iDE = iE = this.m_xml.indexOf(">", iB); if (iE == ... | (function ($) { // Note: the use of fl-ProgEnhance-basic is deprecated, and replaced by fl-progEnhance-basic. // It is included here for backward compatibility only. $("head").append("<style type='text/css'>.fl-progEnhance-basic, .fl-ProgEnhance-basic { display: none; }</style>");})(jQuery); |
return function (messagecodes, args) { if (typeof(messagecodes) === "string") { messagecodes = [messagecodes]; } for (var i = 0; i < messagecodes.length; ++ i) { var code = messagecodes[i]; var message = messageBase[code]; if (message === undefined) { continue; } return resolveFunc(message, args); } return "[Message st... | return fluid.transform(optionlist, function(option, index) { return { ID: opts.rowID, children: [ {ID: opts.inputID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}, {ID: opts.labelID, parentRelativeID: "..::" + opts.selectID, choiceindex: index}] }; }); | return function (messagecodes, args) { if (typeof(messagecodes) === "string") { messagecodes = [messagecodes]; } for (var i = 0; i < messagecodes.length; ++ i) { var code = messagecodes[i]; var message = messageBase[code]; ... |
var node = fluid.dom.iterateDom(rootNode, function(node) { return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); | return function (messagecodes, args) { if (typeof(messagecodes) === "string") { messagecodes = [messagecodes]; } for (var i = 0; i < messagecodes.length; ++ i) { var code = messagecodes[i]; var message = messageBase[code]; if (message === undefined) { continue; } return resolveFunc(message, args); } return "[Message st... | var node = fluid.dom.iterateDom(rootNode, function(node) { // NB, in Firefox at least, comment and cdata nodes cannot be distinguished! return node.nodeType === 8 || node.nodeType === 4? "stop" : null; }, true); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.