rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
setRgOpacitySlider(evt, $(this)); bSlidingOpacity = false; | setRadiusSlider(evt, $(this)); bSlidingRadius = false; | }).mouseup(function(evt) { setRgOpacitySlider(evt, $(this)); bSlidingOpacity = false; evt.preventDefault(); }); |
(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};... | if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemova... | (function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};... |
yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } var controlCurrentValue = ORBEON.xforms.Controls.getCurrentValue(control); ORBEON.xforms.ServerValueStore.set(control.id, controlCurr... | (function () { var methodsFrom = ORBEON.xforms.Globals.isRenderingEngineTrident ? ORBEON.util.IEDom : ORBEON.util.MozDom; for (var method in methodsFrom) ORBEON.util.Dom[method] = methodsFrom[method]; }()); | yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } // Store initial server value ... |
window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get()); | yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } var controlCurrentValue = ORBEON.xforms.Controls.getCurrentValue(control); ORBEON.xforms.ServerValueStore.set(control.id, controlCurr... | window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get()); |
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; }); | var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay); | YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; }); |
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||... | "form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest(... | toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||... |
$('#seg_type').change(function() { svgCanvas.setSegType($(this).val()); }); | callback:C.cbHandler(function(result){ if (result.success){ var grid = Ext.getCmp("manage_user_group_members_grid") grid.getStore().reload(); C.infoMsg("User Added.") } }) | $('#seg_type').change(function() { svgCanvas.setSegType($(this).val()); }); |
var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeColumn(th2, 100, 10); thiss.checkTableAndContainerWidths(table); Y... | var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(table); thiss.closeAccordionCase(thiss, 'widths-resizeable'); }); | thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clie... |
$('#' + id + '_jGraduate_Radius').mousedown(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = true; | $('.stop, #color_picker_rg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY; | $('#' + id + '_jGraduate_Radius').mousedown(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = true; evt.preventDefault(); }).mousemove(function(evt) { |
(function () { var methodsFrom = ORBEON.xforms.Globals.isRenderingEngineTrident ? ORBEON.util.IEDom : ORBEON.util.MozDom; for (var method in methodsFrom) ORBEON.util.Dom[method] = methodsFrom[method]; }()); | window.setInterval(function() { ORBEON.xforms.Events.sendHeartBeatIfNeeded(heartBeatDelay); }, heartBeatDelay / 10); | (function () { var methodsFrom = ORBEON.xforms.Globals.isRenderingEngineTrident ? ORBEON.util.IEDom : ORBEON.util.MozDom; for (var method in methodsFrom) ORBEON.util.Dom[method] = methodsFrom[method]; }()); |
$('#' + id + '_jGraduate_Spread').mousedown(function(evt) { setSpreadSlider(evt, $(this)); bSlidingSpread = true; | $('#' + id + '_jGraduate_Radius').mousedown(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = true; | $('#' + id + '_jGraduate_Spread').mousedown(function(evt) { setSpreadSlider(evt, $(this)); bSlidingSpread = true; evt.preventDefault(); }).mousemove(function(evt) { |
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true); | else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading); | YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true); |
u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(thi... | "form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=B;return la("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest(... | u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(thi... |
var matches = ORBEON.util.DateTime._weekdayNames.filter(function(item) { return new RegExp("^" + weekday, "i").test(item); }); | var matches = ORBEON.util.DateTime._monthNames.filter(function(item) { return new RegExp("^" + month, "i").test(item); }); | var matches = ORBEON.util.DateTime._weekdayNames.filter(function(item) { return new RegExp("^" + weekday, "i").test(item); }); |
var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTarget(ev) != a) { | var triggerControl = YAHOO.util.Selector.query('.xforms-trigger:not(.xforms-disabled)', liner, true); var a = ORBEON.util.Dom.getElementByTagName(triggerControl, "a"); if (a != undefined && YAHOO.util.Event.getTarget(ev) != a) { | YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTarget(ev) != a) { ORBEON.xforms.Document.dispatchEvent(a.id, "DOMActivate"); } }); |
isInSet = null, | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... | |
logger.log("Check if ", propName, ':', value, compareOperator, compareValue, '[is/should]BeInSet', isInSet, couldBeInSet) | logger.log("Check if ", propName, ':', value, compareOperator, compareValue, 'couldBeInSet', couldBeInSet) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
if (!isInSet) { return } self._mutate('srem', itemId) | self._maybeRemove(itemId) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
if (isInSet) { return } self._mutate('sadd', itemId) | self._maybeAdd(itemId) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
isInSet = !!isMember processProperty(properties.length - 1) | if (!Boolean(isMember)) { return } this._mutate('srem', itemId) })) } this._maybeAdd = function(itemId) { this._redisCommandClient.sismember(this._queryKey, itemId, bind(this, function(err, isMember) { if (Boolean(isMember)) { return } this._mutate('sadd', itemId) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
this.release = function() { this._redisCommandClient.del(this._lockKey) } | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... | |
callback(http.parseUri('http: | callback(querystring.parse(url.parse('http: | req.addListener('end', function() { callback(http.parseUri('http://fake/?' + body).params); }); |
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "100"); }, function() { | }, function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "100"); }, function() { var table1 = YAHOO.util.Dom.get('my-accordion$repeat-refresh-table$repeat-refresh-table-table·1'); var table2 = YAHOO.util.Dom.get('my-accordion$repeat-refresh-table$repe... | ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { // Setting maxLength to 100 adds new rows in the tables ORBEON.xforms.Document.setValue("maxLength", "100"); }, function() { |
return setTimeout(function () { createErrorList(); }, 100); | var loadTimer = setInterval(function () { if (document.readyState === "complete") { clearInterval(loadTimer); var htmlForm = document.createElement("form"), htmlInput = document.createElement("input"); htmlForm.action = "http: htmlForm.method = "post"; htmlForm.enctype = "multipart/form-data"; htmlInput.type = "text"... | return setTimeout(function () { createErrorList(); }, 100); |
Event.on(h2.firstChild, 'click', function(ev) { Event.stopEvent(ev); }); | build: !type ? function(t) { return new Node(t); } | Event.on(h2.firstChild, 'click', function(ev) { Event.stopEvent(ev); }); |
function () { block.style.backgroundColor = ""; curTrack.heightUpdate(layouter.totalHeight, blockIndex); }); | function(match, group) { if(feature[fields[group]] != undefined) return feature[fields[group]]; else urlValid = false; return 0; }); | function () { block.style.backgroundColor = ""; curTrack.heightUpdate(layouter.totalHeight, blockIndex); }); |
gv.showVisibleBlocks(); | dojo.connect(browserWidget, "resize", function() { gv.sizeInit(); brwsr.view.locationTrapHeight = dojo.marginBox(navbox).h; gv.showFine(); gv.showCoarse(); }); | |
$('#edit-parent-menu', context).change( function() { $('#edit-parent') .html(Drupal.settings.menu_block.parent_options[$('#edit-parent-menu').val()]) | $('.menu-block-parent-menu', context).change( function() { $('.menu-block-parent') .html(Drupal.settings.menu_block.parent_options[$('.menu-block-parent-menu').val()]) | $('#edit-parent-menu', context).change( function() { $('#edit-parent') .html(Drupal.settings.menu_block.parent_options[$('#edit-parent-menu').val()]) .val(Drupal.settings.menu_block.parent_default); } ); |
dj.respond(res, result, 'text/plain'); | if (error) { dj.default_show_500(req, res, error); } else { dj.respond(res, result, 'text/plain'); } | ['^/text$', function (req, res) { template_loader.load_and_render('template.html', test_context, function (error, result) { dj.respond(res, result, 'text/plain'); }); }], |
if (!(propName in this._query)) { continue; } | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._lockKey = lockKey this._redisSubClient = _redis.createClient() this._redisCommandClient ... | |
template.render(test_context, function (error, html) { dj.respond(res, html, 'text/plain'); }); | ['^/text$', function (req, res) { template_loader.load_and_render('template.html', test_context, function (error, result) { dj.respond(res, result, 'text/plain'); }); }], | template.render(test_context, function (error, html) { dj.respond(res, html, 'text/plain'); }); |
return new WaitAjaxResponseDataSource(function(query) { return autoComplete.getCurrentValues(query); }); | return new WaitAjaxResponseDataSource(function(query) { return autoComplete.getCurrentValues(query); }, {}); | return new WaitAjaxResponseDataSource(function(query) { return autoComplete.getCurrentValues(query); }); |
_redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._lockKey = lockKey this._redisSubClient = _redis.createClient() this._redisCommandClient = _re... | _redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { if (err) { throw logger.error('Could not retrieve value of item for query', itemPropKey, queryKey, err) } var value = bytesToString(valueBytes), propCondition = this._query[propName], isLiteral = (typeof propCondition == 'string'), ... |
_redisCommandClient[redisOp](queryKey, itemId, bind(this, function(err, opChangedSet) { | this._redisCommandClient[redisOp](queryKey, itemId, bind(this, function(err, opChangedSet) { | _redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { if (err) { throw logger.error('Could not retrieve value of item for query', itemPropKey, queryKey, err) } var value = bytesToString(valueBytes), propCondition = this._query[propName], isLiteral = (typeof propCondition == 'string'), ... |
logger.log('Processed:', value, compareOperator, compareValue, 'Belongs?', shouldBeInSet, 'Changed?', opChangedSet) | _redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { if (err) { throw logger.error('Could not retrieve value of item for query', itemPropKey, queryKey, err) } var value = bytesToString(valueBytes), propCondition = this._query[propName], isLiteral = (typeof propCondition == 'string'), ... | |
_redisCommandClient.publish(this._queryChannel, JSON.stringify(mutation)) | this._redisCommandClient.publish(this._queryChannel, JSON.stringify(mutation)) | _redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { if (err) { throw logger.error('Could not retrieve value of item for query', itemPropKey, queryKey, err) } var value = bytesToString(valueBytes), propCondition = this._query[propName], isLiteral = (typeof propCondition == 'string'), ... |
} this.release = function() { this._redisCommandClient.del(this._lockKey) } }) | _redisCommandClient.get(itemPropKey, bind(this, function(err, valueBytes) { if (err) { throw logger.error('Could not retrieve value of item for query', itemPropKey, queryKey, err) } var value = bytesToString(valueBytes), propCondition = this._query[propName], isLiteral = (typeof propCondition == 'string'), ... | |
itemSet.getItems(function(itemIds){ callback({ _id: id, add: itemIds }) }) | this._redisClient.smembers(queryKey, bind(this, function(err, members) { if (err) { throw logger.error('could not retrieve set members', queryKey, err) } callback(members || []) })) | itemSet.getItems(function(itemIds){ callback({ _id: id, add: itemIds }) }) |
this._redisClient.get(key, bind(this, function(err, valueBytes) { if (err) { throw logger.error('could not retrieve properties for item', key, err) } callback((valueBytes ? valueBytes.toString() : "null"), key) })) | this._redisClient.del('L' + key, function(err) { if (err) { throw logger.error("Could not clear out key") } }) | this._redisClient.get(key, bind(this, function(err, valueBytes) { if (err) { throw logger.error('could not retrieve properties for item', key, err) } callback((valueBytes ? valueBytes.toString() : "null"), key) })) |
}, function() { var tr = YAHOO.util.Dom.getNextSibling(groupBegin); YAHOO.util.Assert.areEqual("tr", tr.tagName.toLowerCase()); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(tr, "xforms-disabled")); }); | OT.executeCausingAjaxRequest(this, function() { button.click(); }, function() { | }, function() { var tr = YAHOO.util.Dom.getNextSibling(groupBegin); YAHOO.util.Assert.areEqual("tr", tr.tagName.toLowerCase()); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(tr, "xforms-disabled")); }); |
var samePosition = $.grep(all, function (a) { return a && a.options.position == pos && (a.labelHeight || a.labelWidth); }); | placeholder.find("canvas").each(function () { delete this.context_; }); | var samePosition = $.grep(all, function (a) { return a && a.options.position == pos && (a.labelHeight || a.labelWidth); }); |
var control = YAHOO.util.Dom.get(fullId); var formElement = ORBEON.util.Dom.getElementByTagName(control, ["input", "textarea"]); YAHOO.util.Assert.isFalse(formElement.disabled, "form element must not be disabled after recreation"); | }, function() { YAHOO.util.Assert.areEqual("true", ORBEON.xforms.Document.getValue(fullId)); YAHOO.util.Assert.areEqual("Label", ORBEON.xforms.Controls.getLabelMessage(YAHOO.util.Dom.get(fullId))); }); | |
this.handleRequest('FIN_REQUEST_OBSERVE', bind(this, function(args) { var itemId = args.id, propName = args.prop, channel = shared.keys.getItemPropertyChannel(itemId, propName) logger.log("Subcribe to item channel", channel) this._redisClient.subscribeTo(channel, this._itemChannelHandler) if (args.snapshot === false)... | this.server.retrieveStateMutation(key, type, bind(this, function(mutation) { this.sendFrame('FIN_EVENT_MUTATION', JSON.stringify(mutation)) })) | this.handleRequest('FIN_REQUEST_OBSERVE', bind(this, function(args) { var itemId = args.id, propName = args.prop, channel = shared.keys.getItemPropertyChannel(itemId, propName) logger.log("Subcribe to item channel", channel) this._redisClient.subscribeTo(channel, this._itemChannelHandler) if (args... |
this.handleRequest('FIN_REQUEST_ITEM_EXISTS', bind(this, function(request) { this.server.exists(request._id, bind(this, function(response) { response._requestId = request._requestId this.sendFrame('FIN_RESPONSE_ITEM_EXISTS', response) | this.handleRequest('FIN_REQUEST_SUBSCRIBE', bind(this, function(args) { var itemId = args.id, propName = args.prop, channel = shared.keys.getItemPropertyChannel(itemId, propName), key = shared.keys.getItemPropertyKey(itemId, propName) this._redisClient.subscribeTo(channel, this._itemChannelHandler) this.server.data('... | this.handleRequest('FIN_REQUEST_ITEM_EXISTS', bind(this, function(request) { this.server.exists(request._id, bind(this, function(response) { response._requestId = request._requestId this.sendFrame('FIN_RESPONSE_ITEM_EXISTS', response) })) })) |
var item = common.itemFactory.getItem(mutation._id) item.applyMutation(mutation); | common.itemFactory.handleMutation(mutation) | this.handleEvent('FIN_EVENT_ITEM_MUTATED', function(mutation) { var item = common.itemFactory.getItem(mutation._id) item.applyMutation(mutation); }) |
callback(http.parseUri('http: }); | req.POST = querystring.parse(body); callback(false, req); }); | req.addListener('end', function() { callback(http.parseUri('http://fake/?' + body).params); }); |
}else{ | }else if (e){ | var finalState=functions.reduce(function(state,f,index,array){ if (state.exitChain) return state; f.chain = state; f.chain.index = index; f.chain.array = array; f.chain.exit = function(retval){ throw {retval:retval} } try{ state.lastReturn=f.apply($this,state.args); } catch(e){ if... |
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&... | "`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e... | function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&... |
this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { logger.info('FIN_RESPONSE', response._requestId, response.data) this._executeCallback(response._requestId, response.data) })) | releaseFn = bind(this, function () { if (!subId) { return } this.release(subId) subId = null this.set(itemId, focusProp, null) }) | this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { logger.info('FIN_RESPONSE', response._requestId, response.data) this._executeCallback(response._requestId, response.data) })) |
if (crosshair.locked) return; | eventHolder.mousemove(function (e) { if (plot.getSelection && plot.getSelection()) { crosshair.x = -1; // hide the crosshair while selecting return; } if (crosshair.locked) return; ... | |
this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { this._executeCallback(response._requestId, response.data) })) | setTimeout(function() { singleCallback(mutation, mutation.value) }) | this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { this._executeCallback(response._requestId, response.data) })) |
setTimeout(function() { singleCallback(mutation, mutation.value) }) | this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { this._executeCallback(response._requestId, response.data) })) | setTimeout(function() { singleCallback(mutation, mutation.value) }) |
if (event.charCode && !event.altKey && !event.ctrlKey && !event.metaKey) | var modifier = event.altKey || event.ctrlKey || event.metaKey; if (event.keyCode == 13) keyboardEnter(event); else if (event.charCode && !modifier) | passwordInput.addEventListener('keypress', function(event) { if (event.charCode && !event.altKey && !event.ctrlKey && !event.metaKey) keyboardPress(String.fromCharCode(event.charCode), event); this.focus(); }, false); |
proto['get'+base] = (function(prop) { return function() { return this[prop]; | return function(v) { this[prop] = v; return this; | proto['get'+base] = (function(prop) { return function() { return this[prop]; } })(prop); |
})(prop); | proto['get'+base] = (function(prop) { return function() { return this[prop]; } })(prop); | |
clearTimeout(delayedExecution) delayedExecution = setTimeout(bind(this, fn), 10) | var executionTimeout this[methodName] = bind(this, function() { clearTimeout(executionTimeout) executionTimeout = setTimeout(bind(fn, 'apply', this, arguments), 10) }) | this[methodName] = function() { clearTimeout(delayedExecution) delayedExecution = setTimeout(bind(this, fn), 10) } |
$.getJSON('xmlhttprequest.php', postData, function(data) { var results = []; $.each(data, function(i, value) { | $.each(data, function(i, value) { | $.getJSON('xmlhttprequest.php', postData, function(data) { var results = []; $.each(data, function(i, value) { var item = {}; item.label = $('<div/>').text(value).html(); item.value = value; results.push(item); }); callback(results); }); |
callback(results); }); | $.getJSON('xmlhttprequest.php', postData, function(data) { var results = []; $.each(data, function(i, value) { var item = {}; item.label = $('<div/>').text(value).html(); item.value = value; results.push(item); }); callback(results); }); | |
channel = shared.keys.getItemPropertyChannel(itemId, propName), | channel = shared.keys.getItemPropertyChannel(itemId, propName) | this.handleRequest('FIN_REQUEST_OBSERVE', bind(this, function(args) { var itemId = args.id, propName = args.prop, channel = shared.keys.getItemPropertyChannel(itemId, propName), logger.log("Subcribe to item channel", channel) this._redisClient.subscribeTo(channel, this._itemChannelHandler) if (arg... |
$j('[:input').live("change", function() { filter_highlight_changes($j(this)); | $('[:input').live("change", function() { filter_highlight_changes($(this)); | $j('[:input').live("change", function() { filter_highlight_changes($j(this)); }); |
assertEquals(expected, actual, callback); callback(); | assertEquals(expected, actual, complete); end_async_test(complete); | function (error, actual) { //sys.debug(new Date() - t); assertEquals(expected, actual, callback); callback(); } |
var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); | var triggerControl = YAHOO.util.Selector.query('.xforms-trigger:not(.xforms-disabled)', liner, true); var a = ORBEON.util.Dom.getElementByTagName(triggerControl, "a"); | YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTarget(ev) != a) { ORBEON.xforms.Document.dispatchEvent(a.id, "DOMActivate"); } }); |
ORBEON.xforms.Document.dispatchEvent(a.id, "DOMActivate"); | ORBEON.xforms.Document.dispatchEvent(triggerControl.id, "DOMActivate"); | YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTarget(ev) != a) { ORBEON.xforms.Document.dispatchEvent(a.id, "DOMActivate"); } }); |
oSettings.nPaginate.appendChild(nNext);oSettings.nPaginate.appendChild(nLast);$(nFirst).click(function(){oSettings.iDisplayStart=0; fnCallbackDraw(oSettings)});$(nPrevious).click(function(){oSettings.iDisplayStart-=oSettings.iDisplayLength; | }});$(nPrevious).bind("selectstart",function(){return false});$(nNext).bind("selectstart",function(){return false | oSettings.nPaginate.appendChild(nNext);oSettings.nPaginate.appendChild(nLast);$(nFirst).click(function(){oSettings.iDisplayStart=0;fnCallbackDraw(oSettings)});$(nPrevious).click(function(){oSettings.iDisplayStart-=oSettings.iDisplayLength; |
req.addListener('body', function(chunk) { body += chunk; | req.addListener('end', function() { callback(http.parseUri('http: | req.addListener('body', function(chunk) { body += chunk; }); |
this._queryChannel = shared.keys.getQueryChannel(queryJSON) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... | |
itemId = mutation.id | key = mutation.id, itemId = shared.keys.getKeyInfo(key).id | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
logger.log('Check membership for:', itemId) | logger.log('Check membership for:', itemId, query) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
logger.log('Check property "' + propName +'":', '[db: ' + JSON.stringify(value) + ']', compareOperator, '[query: ' + JSON.stringify(compareValue) + ']', 'match?', couldBeInSet) | logger.log('Check ' + itemPropKey +':', '[in db: ' + JSON.stringify(value) + ']', compareOperator, '[query wants: ' + JSON.stringify(compareValue) + ']', 'match?', couldBeInSet) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
self._maybeRemove(itemId) | self._removeIfMember(itemId) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
if (propIndex == 0) { self._maybeAdd(itemId) } else { processProperty(propIndex - 1) } | if (propIndex == 0) { self._addIfNotMember(itemId) } else { processProperty(propIndex - 1) } | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
this._maybeRemove = function(itemId) { | this._removeIfMember = function(itemId) { | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
this._maybeAdd = function(itemId) { | this._addIfNotMember = function(itemId) { | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
var mutation = { op: redisOp, id: this._queryChannel, args: [itemId] } this._redisCommandClient.publish(this._queryChannel, JSON.stringify(mutation)) | var queryKey = this._queryKey, mutation = { op: redisOp, id: queryKey, args: [itemId] } this._redisCommandClient.publish(queryKey, JSON.stringify(mutation)) | _Query = Class(function() { this.init = function(lockKey, queryJSON) { this._queryKey = shared.keys.getQueryKey(queryJSON) this._queryChannel = shared.keys.getQueryChannel(queryJSON) this._query = JSON.parse(queryJSON) this._properties = map(this._query, function(key, val){ return key }) this._lockKey = lockKey ... |
select.click(function() { | select.change(function() { | select.click(function() { pickables.hide().filter('#' + $(this).val()).show(); }).click(); |
}).click(); | }).change(); | select.click(function() { pickables.hide().filter('#' + $(this).val()).show(); }).click(); |
browser.panelManager.setOffset(drawerSize.width + 50); browser.panelManager.layout({ width: size.width, height: size.height - 100 }); | gPanelManager.setOffset(drawerSize.width + 50); gPanelManager.layout({ width: size.width, height: size.height - 100 }); | browser.resizeManager.onWindowResize(function(size) { var drawerSize = gDrawer.layout(); browser.panelManager.setOffset(drawerSize.width + 50); browser.panelManager.layout({ width: size.width, height: size.height - 100 }); }); |
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue("repeat-shown", "true"); }, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayout() ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link... | ORBEON.xforms.Events.click({target: YAHOO.util.Dom.get(this.dateValueInputId), button: 0 }); var nextYear = YAHOO.util.Dom.getElementsByClassName("calyearright", null, "orbeon-calendar-div")[0]; YAHOO.util.UserAction.click(nextYear); this.wait(function() { var monthYear = YAHOO.util.Dom.getElementsByClassName("calnav",... | }, function() { ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue("repeat-shown", "true"); }, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayou... |
$('#text').keyup(function(){ svgCanvas.setTextContent(this.value); }); | callback:C.cbHandler(function(result){ if (result.success){ C.body.unmask(); C.infoMsg("removed '" + name + "'"); Ext.getCmp("manage_user_group_members_grid") .getBottomToolbar().onClick("refresh") } else return false }) | $('#text').keyup(function(){ svgCanvas.setTextContent(this.value); }); |
var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeColumn(th2, -50, 10); thiss.checkTableAndContainerWidths(table); Y... | var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeColumn(th2, 100, 10); thiss.checkTableAndContainerWidths(table); Y... | thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clie... |
var table = YAHOO.util.Dom.get('my-accordion$table-314379$table-314379-table'); | var table = YAHOO.util.Dom.get('my-accordion$table-314379').getElementsByTagName("table")[0]; | }, function() { var table = YAHOO.util.Dom.get('my-accordion$table-314379$table-314379-table'); var th = thiss.getSignificantElementByIndex(table.tHead.rows[0].cells, 1); var width; width = th.clientWidth; // resize the first column ... |
}).mousemove(function(evt) { if (bSlidingRadius) { setRadiusSlider(evt, $(this)); | $('#'+id+'_rg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) + dy; if (x < MARGINX - STOP_RADIUS)... | }).mousemove(function(evt) { if (bSlidingRadius) { setRadiusSlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) { |
}).mouseup(function(evt) { | }); | }).mousemove(function(evt) { if (bSlidingRadius) { setRadiusSlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) { |
window.setInterval(function() { ORBEON.xforms.Events.sendHeartBeatIfNeeded(heartBeatDelay); }, heartBeatDelay / 10); | window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get()); | window.setInterval(function() { ORBEON.xforms.Events.sendHeartBeatIfNeeded(heartBeatDelay); }, heartBeatDelay / 10); // say session is 30 mn, heartbeat must come after 24 mn, we check every 2.4 mn so we should |
if (bSlidingSpread) { setSpreadSlider(evt, $(this)); | if (bSlidingRadius) { setRadiusSlider(evt, $(this)); | }).mousemove(function(evt) { if (bSlidingSpread) { setSpreadSlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) { |
FunctionCallExpr.prototype.xpathfunctions["xxforms:if"] = function(ctx) { var test = this.args[0].evaluate(ctx).booleanValue(); return new StringValue(this.args[test ? 1 : 2].evaluate(ctx).stringValue()); }; | YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { if (ORBEON.util.Dom.getAttribute(element, "target") == null && ORBEON.uti... | FunctionCallExpr.prototype.xpathfunctions["xxforms:if"] = function(ctx) { var test = this.args[0].evaluate(ctx).booleanValue(); return new StringValue(this.args[test ? 1 : 2].evaluate(ctx).stringValue()); }; |
X<S.length;X++){c=S[X].tagName.toLowerCase();if(S[X].getAttribute("tag")){c=S[X].getAttribute("tag").toLowerCase();}W=this._tag2cmd[c];if(W===undefined){W=[];}if(!D.isArray(W)){W=[W];}if(S[X].style.fontWeight.toLowerCase()=="bold"){W[W.length]="bold";}if(S[X].style.fontStyle.toLowerCase()=="italic"){W[W.length]="italic... | (function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==... | X<S.length;X++){c=S[X].tagName.toLowerCase();if(S[X].getAttribute("tag")){c=S[X].getAttribute("tag").toLowerCase();}W=this._tag2cmd[c];if(W===undefined){W=[];}if(!D.isArray(W)){W=[W];}if(S[X].style.fontWeight.toLowerCase()=="bold"){W[W.length]="bold";}if(S[X].style.fontStyle.toLowerCase()=="italic"){W[W.length]="italic... |
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0... | xa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.node... | function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0... |
if (!match) { return callback('no matching urls for ' + url_name_val); } | if (!match) { return callback('no matching urls for ' + url_name); } | return function (context, callback) { var match = process.djangode_urls[context.get(url_name)] if (!match) { return callback('no matching urls for ' + url_name_val); } var url = string_utils.regex_to_string(match, replacements.map(function (x) { return context.get(x); })); ... |
url = '/' + url; | if (url[0] !== '/') { url = '/' + url; } | return function (context, callback) { var match = process.djangode_urls[context.get(url_name)] if (!match) { return callback('no matching urls for ' + url_name_val); } var url = string_utils.regex_to_string(match, replacements.map(function (x) { return context.get(x); })); ... |
$('#image_url').change(function(){ setImageURL(this.value); }); | callback:C.cbHandler(function(result){ if (result.success){ C.body.unmask(); C.infoMsg("removed '" + name + "'"); Ext.getCmp("manage_user_group_members_grid") .getBottomToolbar().onClick("refresh") } else return false }) | $('#image_url').change(function(){ setImageURL(this.value); }); |
var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeColumn(th2, -10); thiss.checkTableAndContainerWidths(table); thiss... | var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeColumn(th2, -50, 10); thiss.checkTableAndContainerWidths(table); Y... | thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clie... |
}).mouseup(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = false; evt.preventDefault(); | $('#'+id+'_rg_jgraduate_svg').mouseup(function(evt) { draggingStop = null; | }).mouseup(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = false; evt.preventDefault(); }); |
window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get()); | yuiTree.subscribe("clickEvent", function(object) { if (object.node.expanded) return false; }); | window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get()); |
setSpreadSlider(evt, $(this)); bSlidingSpread = false; | setRadiusSlider(evt, $(this)); bSlidingRadius = false; | }).mouseup(function(evt) { setSpreadSlider(evt, $(this)); bSlidingSpread = false; evt.preventDefault(); }); |
FunctionCallExpr.prototype.xpathfunctions["matches"] = function(ctx) { var input = this.args[0].evaluate(ctx).stringValue(); var pattern = this.args[1].evaluate(ctx).stringValue(); return new BooleanValue(new RegExp(pattern).test(input)); }; | YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; }); | FunctionCallExpr.prototype.xpathfunctions["matches"] = function(ctx) { var input = this.args[0].evaluate(ctx).stringValue(); var pattern = this.args[1].evaluate(ctx).stringValue(); return new BooleanValue(new RegExp(pattern).test(input)); }; |
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0... | "file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},fun... | function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0... |
}, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayout() ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link.tagName.toLowerCase()); YAHOO.util.Assert.areEqual("Label", link.innerHTML); }); | this.wait(function() { monthYear = YAHOO.util.Dom.getElementsByClassName("calnav", null, "orbeon-calendar-div")[0]; YAHOO.util.Assert.areEqual("October 2029", monthYear.innerHTML); YAHOO.util.UserAction.click(document.body); }, XFORMS_INTERNAL_SHORT_DELAY_IN_MS); | }, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayout() ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link.tagName.toLowerCase()); YAH... |
$('.attr_changer').change(function() { var attr = this.getAttribute("data-attr"); var val = this.value; var valid = svgCanvas.isValidUnit(attr, val); if(!valid) { $.alert(uiStrings.invalidAttrValGiven); this.value = selectedElement.getAttribute(attr); return false; } if (attr == "id") { var elem = selectedElement; s... | callback:C.cbHandler(function(result){ if (result.success){ var grid = Ext.getCmp("manage_assigned_rights_grid") grid.getStore().reload(); C.infoMsg("Right Added.") } }) | $('.attr_changer').change(function() { var attr = this.getAttribute("data-attr"); var val = this.value; var valid = svgCanvas.isValidUnit(attr, val); if(!valid) { $.alert(uiStrings.invalidAttrValGiven); this.value = selectedElement.getAttribute(attr); return false; } // if the user ... |
thiss.openAccordionCase(thiss, '_314216', function() { var th = YAHOO.util.Dom.get('my-accordion$table-314216$th-314216-2'); var resizerliner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagAndClassName(th, 'div', 'yui-dt-resizerliner'); var liner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagAndClassName(resizerli... | thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); var th1 = table.tHead.rows[0].cells[0]; var th2 = table.tHead.rows[0].cells[1]; var width1 = th1.clientWidth; var width2 = th2.clientWidth; thiss.resizeC... | thiss.openAccordionCase(thiss, '_314216', function() { var th = YAHOO.util.Dom.get('my-accordion$table-314216$th-314216-2'); var resizerliner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagAndClassName(th, 'div', 'yui-dt-resizerliner'); var liner = YAHOO.xbl.fr.Datatable.utils... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.