rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){retur... | (a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQui... | a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){retur... |
b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:fun... | (a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQui... | b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:fun... |
form.findField("driver").setValue( | ObjectLib.forEach(dsInfo,function(v,k){ var f =form.findField(k) if (f && !f.getValue()){ f.setValue(v) } }) /* form.findField("driver").setValue( | C.ds.edit=function(name){ var center_tabs = Ext.getCmp("center_tabs"); var tabId="ds_edit_" + name; if (!center_tabs.findById(tabId)){ var submitFn=function(){ var form = Ext.getCmp("ds_form" + name).form; form.findField("url").enable() if (form.isValid()) { form.submit({ waitMsg:'Savi... |
); | ); */ | C.ds.edit=function(name){ var center_tabs = Ext.getCmp("center_tabs"); var tabId="ds_edit_" + name; if (!center_tabs.findById(tabId)){ var submitFn=function(){ var form = Ext.getCmp("ds_form" + name).form; form.findField("url").enable() if (form.isValid()) { form.submit({ waitMsg:'Savi... |
[1,"Yes"], | [1,"Yes"] | C.ds.edit=function(name){ var center_tabs = Ext.getCmp("center_tabs"); var tabId="ds_edit_" + name; if (!center_tabs.findById(tabId)){ var submitFn=function(){ var form = Ext.getCmp("ds_form" + name).form; form.findField("url").enable() if (form.isValid()) { form.submit({ waitMsg:'Savi... |
config.contentsCss = 'gui/themes/default/css/testlink.css'; | CKEDITOR.editorConfig = function( config ){ // You can use theses definitions if you buy ckfinder // more informations on http://ckfinder.com/ //config.filebrowserBrowseUrl = '/third_party/ckfinder/ckfinder.html'; //config.filebrowserImageBrowseUrl = '/third_party/ckfinder/ckfinder.html?Type=Images'; //config.filebrow... | |
config.templates_replaceContent = false; | CKEDITOR.editorConfig = function( config ){ // You can use theses definitions if you buy ckfinder // more informations on http://ckfinder.com/ //config.filebrowserBrowseUrl = '/third_party/ckfinder/ckfinder.html'; //config.filebrowserImageBrowseUrl = '/third_party/ckfinder/ckfinder.html?Type=Images'; //config.filebrow... | |
c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({e... | {position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replace... | c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({e... |
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.paren... | true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:... | this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.paren... |
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"&... | -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return ... | 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"&... |
0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return h<k[3]-0},gt:function(g,h,k){return h>k[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.inne... | setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{P... | 0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return h<k[3]-0},gt:function(g,h,k){return h>k[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.inne... |
"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:f... | toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=t... | "find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:f... |
Symphony.Language.Dictionary = $.extend(Symphony.Language.Dictionary, strings); } | Symphony.Message.post(Symphony.Language.get('Reordering was unsuccessful.'), 'reorder error'); }, | error: function() { Symphony.Language.Dictionary = $.extend(Symphony.Language.Dictionary, strings); } |
1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}... | !F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J... | 1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}... |
ORBEON.util.Dom.removeClass(detailsHidden, "xforms-disabled"); ORBEON.util.Dom.removeClass(detailsHidden, "xforms-disabled-subsequent"); ORBEON.util.Dom.addClass(detailsShown, "xforms-disabled-subsequent"); | YAHOO.util.Dom.removeClass(detailsHidden, "xforms-disabled"); YAHOO.util.Dom.removeClass(detailsHidden, "xforms-disabled-subsequent"); YAHOO.util.Dom.addClass(detailsShown, "xforms-disabled-subsequent"); | errorPanelClosed: function(type, args, formID) { var errorPanel = ORBEON.xforms.Globals.formErrorPanel[formID]; var errorBodyDiv = errorPanel.errorDetailsDiv.parentNode.parentNode; var detailsHidden = ORBEON.util.Dom.getChildElementByClass(errorBodyDiv, "xforms-error-panel-details-hidden"); ... |
ORBEON.util.Dom.addClass(detailsHidden, "xforms-disabled-subsequent"); ORBEON.util.Dom.removeClass(detailsShown, "xforms-disabled"); ORBEON.util.Dom.removeClass(detailsShown, "xforms-disabled-subsequent"); | YAHOO.util.Dom.addClass(detailsHidden, "xforms-disabled-subsequent"); YAHOO.util.Dom.removeClass(detailsShown, "xforms-disabled"); YAHOO.util.Dom.removeClass(detailsShown, "xforms-disabled-subsequent"); | errorShowHideDetails: function() { var errorBodyDiv = this.parentNode.parentNode.parentNode; var detailsHidden = ORBEON.util.Dom.getChildElementByClass(errorBodyDiv, "xforms-error-panel-details-hidden"); var detailsShown = ORBEON.util.Dom.getChildElementByClass(errorBodyDiv, "xforms-error-panel... |
ORBEON.util.Dom.removeClass(detailsHidden, "xforms-disabled"); ORBEON.util.Dom.removeClass(detailsHidden, "xforms-disabled-subsequent"); ORBEON.util.Dom.addClass(detailsShown, "xforms-disabled-subsequent"); | YAHOO.util.Dom.removeClass(detailsHidden, "xforms-disabled"); YAHOO.util.Dom.removeClass(detailsHidden, "xforms-disabled-subsequent"); YAHOO.util.Dom.addClass(detailsShown, "xforms-disabled-subsequent"); | errorShowHideDetails: function() { var errorBodyDiv = this.parentNode.parentNode.parentNode; var detailsHidden = ORBEON.util.Dom.getChildElementByClass(errorBodyDiv, "xforms-error-panel-details-hidden"); var detailsShown = ORBEON.util.Dom.getChildElementByClass(errorBodyDiv, "xforms-error-panel... |
.replace(/"/g, '&qout;'); | .replace(/"/g, '"'); | var escape = exports.escape = function (value) { return value .replace(/&/g, '&') .replace(/</g, '<') .replace(/>/g, '>') .replace(/'/g, ''') .replace(/"/g, '&qout;');}; |
b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ... | this;e.each(b,function(c,d){f._renderItem(a,d)})},_renderItem:function(a,b){return e("<li></li>").data("item.autocomplete",b).append(e("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element... | b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ... |
utils.iter.reduce(this, function (p, c, idx, list, next) { | iter.reduce(this, function (p, c, idx, list, next) { | node_list.evaluate = function (context, callback) { utils.iter.reduce(this, function (p, c, idx, list, next) { c(context, function (error, result) { next(error, p + result); }); }, '', callback); }; |
g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(... | setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{P... | g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(... |
"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListene... | Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detac... | "events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListene... |
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"&... | -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return ... | 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"&... |
listChannel = shared.keys.getItemPropertyChannel(itemId, propName), listLength = this._listLength[listChannel] || 0 | listLength = this._listLength[listKey] || 0 | this.extendList = function(itemId, propName, maxLen) { if (!itemId || !propName || !maxLen) { logger.error("observe requires three arguments", itemId, propName, maxLen); } var listKey = shared.keys.getItemPropertyKey(itemId, propName), listChannel = shared.keys.getItemPropertyChannel(itemId, propName), listLen... |
this._listLength[listChannel] = maxLen | this._listLength[listKey] = maxLen | this.extendList = function(itemId, propName, maxLen) { if (!itemId || !propName || !maxLen) { logger.error("observe requires three arguments", itemId, propName, maxLen); } var listKey = shared.keys.getItemPropertyKey(itemId, propName), listChannel = shared.keys.getItemPropertyChannel(itemId, propName), listLen... |
this._handleItemMutation(mutation) | this._handleMutation(mutation) | this.extendList = function(itemId, propName, maxLen) { if (!itemId || !propName || !maxLen) { logger.error("observe requires three arguments", itemId, propName, maxLen); } var listKey = shared.keys.getItemPropertyKey(itemId, propName), listChannel = shared.keys.getItemPropertyChannel(itemId, propName), listLen... |
} | }, | ExtendsNode: function (item) { return function (context) { context.extends = context.get(item); return ''; }; } |
callback(http.parseUri('http: | callback(querystring.parse(url.parse('http: | exports.extractPost = function(req, callback) { req.setBodyEncoding('utf-8'); var body = ''; req.addListener('data', function(chunk) { body += chunk; }); req.addListener('end', function() { callback(http.parseUri('http://fake/?' + body).params); });} |
req.addListener('body', function(chunk) { | req.addListener('data', function(chunk) { | exports.extractPost = function(req, callback) { req.setBodyEncoding('utf-8'); var body = ''; req.addListener('body', function(chunk) { body += chunk; }); req.addListener('complete', function() { callback(http.parseUri('http://fake/?' + body).params); });} |
req.addListener('complete', function() { | req.addListener('end', function() { | exports.extractPost = function(req, callback) { req.setBodyEncoding('utf-8'); var body = ''; req.addListener('body', function(chunk) { body += chunk; }); req.addListener('complete', function() { callback(http.parseUri('http://fake/?' + body).params); });} |
}else{ | }else if (e){ | var f = function(){ var functions = arguments.callee.chainArray; var $this = this; //var args = Array.parse(arguments); 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 =... |
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=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(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;r... | a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);re... | if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=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(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;r... |
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");... | d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(S("tog... | "olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");... |
fail: function (message) { throw new AssertFailedException(message); | fail: function (message, callback) { var exception = new AssertFailedException(message); if (callback) { callback(exception); } else { throw exception; } | fail: function (message) { throw new AssertFailedException(message); } |
failure: function(result, request) { showLoginForm(); } | failure: function(form, action) { obj = Ext.util.JSON.decode(action.response.responseText); Ext.Msg.alert('', obj.reason); } | failure: function(result, request) { showLoginForm(); } |
if (ORBEON.util.Dom.hasClass(editorInstance.LinkedField, "xforms-incremental")) | if (YAHOO.util.Dom.hasClass(editorInstance.LinkedField, "xforms-incremental")) | function FCKeditor_OnComplete(editorInstance) { // Save reference to XForms element (textarea) in document for event handlers that receive the document editorInstance.EditorDocument.xformsElement = editorInstance.LinkedField; // Register value change handler when in incremental mode if (ORBEON.util.Dom.hasC... |
if (TC_EDITOR == "fckeditor") { | if (tc_editor == "fckeditor") { | function FCKEditorChanged(){ if (TC_EDITOR == "fckeditor") { for (var editorname in FCKeditorAPI.Instances) { if (FCKeditorAPI.GetInstance(editorname).IsDirty()) { return true; } } } return false;} |
thisObj.renderSubfeature(param.feature, param.featDiv, val); | thisObj.renderSubfeature(param.feature, param.featDiv, val, param.displayStart, param.displayEnd); | function FeatureTrack(trackMeta, url, refSeq, browserParams) { //trackMeta: object with: // key: display text track name // label: internal track name (no spaces, odd characters) //url: URL of the track's JSON file //refSeq: object with: // start: refseq start // ... |
b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ... | "\\$&")},filter:function(a,b){var f=new RegExp(e.ui.autocomplete.escapeRegex(b),"i");return e.grep(a,function(c){return f.test(c.label||c.value||c)})}})})(jQuery); | b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ... |
for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h... | return{set:m,expr:g}};k.filter=function(g,i,n,m){for(var p,q,u=g,y=[],F=i,M=i&&i[0]&&k.isXML(i[0]);g&&i.length;){for(var N in o.filter)if((p=o.leftMatch[N].exec(g))!=null&&p[2]){var O,D,R=o.filter[N];D=p[1];q=false;p.splice(1,1);if(D.substr(D.length-1)!=="\\"){if(F===y)y=[];if(o.preFilter[N])if(p=o.preFilter[N](p,F,n,y... | for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h... |
$j('.tainted').each(function() { $j(this).removeClass('tainted'); | $('.tainted').each(function() { $(this).removeClass('tainted'); | function filter_clean_all() { filter_named_filter_clean(); $j('.tainted').each(function() { $j(this).removeClass('tainted'); });} |
var changed_form = $j('[name=filters_open]').serialize(); | var changed_form = $('[name=filters_open]').serialize(); | function filter_highlight_changes(item) { filter_toggle_field_changed( item ); /* Check if form is different that started with */ var changed_form = $j('[name=filters_open]').serialize(); if( begin_form == changed_form ) { filter_clean_all(); }} |
var selected_text = $j('[name=source_query_id] option:selected').html(); | var selected_text = $('[name=source_query_id] option:selected').html(); | function filter_named_filter_clean() { /* be sure it's clean whether it's stored filter or not */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.charAt(0) == '*' ) { $j('[name=source_query_id]').removeClass('tainted'); var reset_text = selected_text.substring(2,selected_tex... |
$j('[name=source_query_id]').removeClass('tainted'); | $('[name=source_query_id]').removeClass('tainted'); | function filter_named_filter_clean() { /* be sure it's clean whether it's stored filter or not */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.charAt(0) == '*' ) { $j('[name=source_query_id]').removeClass('tainted'); var reset_text = selected_text.substring(2,selected_tex... |
$j('[name=source_query_id] option:selected').html(reset_text); | $('[name=source_query_id] option:selected').html(reset_text); | function filter_named_filter_clean() { /* be sure it's clean whether it's stored filter or not */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.charAt(0) == '*' ) { $j('[name=source_query_id]').removeClass('tainted'); var reset_text = selected_text.substring(2,selected_tex... |
var stored_query_id = $j('[name=source_query_id]').val(); | var stored_query_id = $('[name=source_query_id]').val(); | function filter_named_filter_dirty() { var stored_query_id = $j('[name=source_query_id]').val(); if( stored_query_id == -1 ) { /* Only make it dirty if it's a stored filter */ return; } /* stored query in filter is tainted */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.c... |
var selected_text = $j('[name=source_query_id] option:selected').html(); | var selected_text = $('[name=source_query_id] option:selected').html(); | function filter_named_filter_dirty() { var stored_query_id = $j('[name=source_query_id]').val(); if( stored_query_id == -1 ) { /* Only make it dirty if it's a stored filter */ return; } /* stored query in filter is tainted */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.c... |
$j('[name=source_query_id] option:selected').prepend('* '); $j('[name=source_query_id]').addClass('tainted'); | $('[name=source_query_id] option:selected').prepend('* '); $('[name=source_query_id]').addClass('tainted'); | function filter_named_filter_dirty() { var stored_query_id = $j('[name=source_query_id]').val(); if( stored_query_id == -1 ) { /* Only make it dirty if it's a stored filter */ return; } /* stored query in filter is tainted */ var selected_text = $j('[name=source_query_id] option:selected').html(); if( selected_text.c... |
g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){... | l;g.sort(w);if(h)for(var i=1;i<g.length;i++)g[i]===g[i-1]&&g.splice(i--,1)}return g};k.matches=function(g,i){return k(g,null,null,i)};k.matchesSelector=function(g,i){return k(i,null,null,[g]).length>0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p<q;p++){var u,y=o.order[p];if(u=o.leftMatch[... | g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){... |
min = Math.abs(num - numArray[0]); | min = Math.abs(num - numArray[i]); | Util.findNearest = function(numArray, num) { var minIndex = 0; var min = Math.abs(num - numArray[0]); for (var i = 0; i < numArray.length; i++) { if (Math.abs(num - numArray[i]) < min) { minIndex = i; min = Math.abs(num - numArray[0]); } } return minIndex;} |
console.log(el); | Joint.findPos = function(el){ console.log(el); var p = point(0, 0); if (el.offsetParent){ while (el){ p.offset(el.offsetLeft, el.offsetTop); el = el.offsetParent; } } return p;}; | |
} else { p.offset(el.parentNode.offsetLeft, el.parentNode.offsetTop); | Joint.findPos = function(el){ console.log(el); var p = point(0, 0); if (el.offsetParent){ while (el){ p.offset(el.offsetLeft, el.offsetTop); el = el.offsetParent; } } return p;}; | |
console.log(el); | Joint.findPos = function(el){ var p = point(0, 0); if (el.offsetParent){ while (el){ p.offset(el.offsetLeft, el.offsetTop); el = el.offsetParent; } } return p;}; | |
while (cursor.nodeType != ELEMENT_TYPE || !ORBEON.util.Dom.hasClass(cursor, "xforms-repeat-delimiter")) { | while (cursor.nodeType != ELEMENT_TYPE || !YAHOO.util.Dom.hasClass(cursor, "xforms-repeat-delimiter")) { | findRepeatDelimiter: function(repeatId, index) { // Find id of repeat begin for the current repeatId var parentRepeatIndexes = ""; { var currentId = repeatId; while (true) { var parent = ORBEON.xforms.Globals.repeatTreeChildToParent[currentId]; ... |
this.headerHeight = this.headerContainer.clientHeight; if (this.height != 'auto') { var newBodyHeight = this.divContainer.clientHeight - this.headerHeight; YAHOO.util.Dom.setStyle(this.bodyContainer, 'height', newBodyHeight + 'px'); } | finish: function () { this.setSizes(); if (this.scrollH) { YAHOO.util.Event.addListener(this.bodyContainer, 'scroll', YAHOO.xbl.fr.Datatable.prototype.scrollHandler, this, true); this.width = this.divContainer.clientWidth; if (this.tableWidth > this.width) { ... | |
var limit = 1000; | limit = 1000; | finish: function () { this.setSizes(); if (this.scrollH) { YAHOO.util.Event.addListener(this.bodyContainer, 'scroll', YAHOO.xbl.fr.Datatable.prototype.scrollHandler, this, true); this.width = this.divContainer.clientWidth; if (this.tableWidth > this.width) { ... |
var limit = 50; | limit = 50; | finish: function () { this.setSizes(); if (this.scrollH) { YAHOO.util.Event.addListener(this.bodyContainer, 'scroll', YAHOO.xbl.fr.Datatable.prototype.scrollHandler, this, true); this.width = this.divContainer.clientWidth; if (this.tableWidth > this.width) { ... |
g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(... | setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{P... | g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(... |
"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:f... | -1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return ... | "find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:f... |
FirstOfNode: function (choices) { | FirstOfNode: function () { var choices = Array.prototype.slice.apply(arguments); | FirstOfNode: function (choices) { return function (context) { var i, val; for (i = 0; i < choices.length; i++) { var val = context.get(choices[i]); if (val) { return val; } } return ''; } }, |
var val = context.get(choices[i]); | val = context.get(choices[i]); | FirstOfNode: function (choices) { return function (context) { var i, val; for (i = 0; i < choices.length; i++) { var val = context.get(choices[i]); if (val) { return val; } } return ''; } }, |
} | }; | FirstOfNode: function (choices) { return function (context) { var i, val; for (i = 0; i < choices.length; i++) { var val = context.get(choices[i]); if (val) { return val; } } return ''; } }, |
} | }, | fitsInViewport: function(element) { // Viewport coordinates var viewportFirstTop = YAHOO.util.Dom.getDocumentScrollTop(); var viewportFirstLeft = YAHOO.util.Dom.getDocumentScrollLeft(); var viewportSecondTop = viewportFirstTop + YAHOO.util.Dom.getViewportHeight(); var viewportSeco... |
fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX... | fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||t;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if... | fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX... |
var gl_Slide=new Class({options:{active:'',fx:{wait:false,duration:350},scrollFX:{wait:false,transition:Fx.Transitions.Sine.easeInOut},dimensions:{width:722,height:200}},initialize:function(contents,options){this.setOptions(options);this.content=$(contents);this.sections=this.content.getElements('.tab-pane');if(!this.s... | fixIE:function(){ this.filmstrip.getElement('hr').setStyle('display','none') }, | var gl_Slide=new Class({options:{active:'',fx:{wait:false,duration:350},scrollFX:{wait:false,transition:Fx.Transitions.Sine.easeInOut},dimensions:{width:722,height:200}},initialize:function(contents,options){this.setOptions(options);this.content=$(contents);this.sections=this.content.getElements('.tab-pane');if(!this.s... |
el.style.display="inline-block"; | var ver = getIeVersion(); if (ver < 8) { el.style.display="inline-block"; } | function FixIE(el){if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false) el.style.display="inline-block";} |
if (!axis || !axis.labelWidth || !axis.labelHeight) return; | function fixupAxisBox(axis) { // set remaining bounding box coordinates if (axis.direction == "x") { axis.box.left = plotOffset.left; axis.box.width = plotWidth; } else { axis.box.top = plotOffset.top; axis.b... | |
function flush() { | exports.flush = function () { | function flush() { cache = {};} |
} | }; | function flush() { cache = {};} |
fn: function() { this._messageDialog.hide(); this._messageQueue.shift(); if (this._messageQueue.length > 0) this._showMessage(); }, | fn: function(event, event, keyListener) { var targetId = keyListener.observer; var additionalAttributes = ["text", keyListener.text]; if (! YAHOO.lang.isUndefined(keyListener.modifier)) { additionalAttributes.push("modifiers"); additionalAttributes.push(keyListener.modifier); } var event = new ORBEON.xforms.Server.Eve... | fn: function() { this._messageDialog.hide(); this._messageQueue.shift(); if (this._messageQueue.length > 0) this._showMessage(); }, |
fn: function(event, event, keyListener) { | fn: function(eventName, eventObject, keyListener) { | fn: function(event, event, keyListener) { // YUI doesn't give us the target of the event, so we provide the observer as the target to the server var targetId = keyListener.observer; v... |
$.fn.dataTableExt.oPagination={two_button:{fnInit:function(oSettings,fnCallbackDraw){oSettings.nPrevious=document.createElement("div"); oSettings.nNext=document.createElement("div");if(oSettings.sTableId!==""){oSettings.nPaginate.setAttribute("id",oSettings.sTableId+"_paginate"); oSettings.nPrevious.setAttribute("id",o... | _oExt.oPagination={two_button:{fnInit:function(oSettings,nPaging,fnCallbackDraw){var nPrevious,nNext,nPreviousInner,nNextInner; if(!oSettings.bJUI){nPrevious=document.createElement("div");nNext=document.createElement("div") }else{nPrevious=document.createElement("a");nNext=document.createElement("a");nNextInner=documen... | $.fn.dataTableExt.oPagination={two_button:{fnInit:function(oSettings,fnCallbackDraw){oSettings.nPrevious=document.createElement("div");oSettings.nNext=document.createElement("div");if(oSettings.sTableId!==""){oSettings.nPaginate.setAttribute("id",oSettings.sTableId+"_paginate");oSettings.nPrevious.setAttribute("id",oSe... |
}fnCallbackDraw(oSettings)})},fnUpdate:function(oSettings,fnCallbackDraw){oSettings.nPrevious.className=(oSettings.iDisplayStart===0)?"paginate_disabled_previous":"paginate_enabled_previous"; oSettings.nNext.className=(oSettings.iDisplayEnd==oSettings.aiDisplay.length)?"paginate_disabled_next":"paginate_enabled_next" }... | }},fnUpdate:function(oSettings,fnCallbackDraw){if(!oSettings.aanFeatures.p){return }var an=oSettings.aanFeatures.p;for(var i=0,iLen=an.length;i<iLen;i++){if(an[i].childNodes.length!==0){an[i].childNodes[0].className=(oSettings._iDisplayStart===0)?oSettings.oClasses.sPagePrevDisabled:oSettings.oClasses.sPagePrevEnabled;... | }fnCallbackDraw(oSettings)})},fnUpdate:function(oSettings,fnCallbackDraw){oSettings.nPrevious.className=(oSettings.iDisplayStart===0)?"paginate_disabled_previous":"paginate_enabled_previous";oSettings.nNext.className=(oSettings.iDisplayEnd==oSettings.aiDisplay.length)?"paginate_disabled_next":"paginate_enabled_next"}},... |
}}else{iCorrector++}}}}}return null};this.fnUpdate=function(mData,iRow,iColumn,bRedraw){var oSettings=_fnSettingsFromNode(this[0]); var iVisibleColumn;var sRendered;if(typeof bRedraw=="undefined"){bRedraw=true}if(typeof mData!="object"){oSettings.aoData[iRow]._aData[iColumn]=mData; if(oSettings.aoColumns[iColumn].fnRen... | }}else{iCorrector++}}}}return null};this.fnUpdate=function(mData,mRow,iColumn,bRedraw){var oSettings=_fnSettingsFromNode(this[_oExt.iApiIndex]); var iVisibleColumn;var sDisplay;var iRow=(typeof mRow=="object")?_fnNodeToDataIndex(oSettings,mRow):mRow; if(typeof mData!="object"){sDisplay=mData;oSettings.aoData[iRow]._aDa... | }}else{iCorrector++}}}}}return null};this.fnUpdate=function(mData,iRow,iColumn,bRedraw){var oSettings=_fnSettingsFromNode(this[0]);var iVisibleColumn;var sRendered;if(typeof bRedraw=="undefined"){bRedraw=true}if(typeof mData!="object"){oSettings.aoData[iRow]._aData[iColumn]=mData;if(oSettings.aoColumns[iColumn].fnRende... |
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke... | "body",b)[0]).mousedown(function(c){var d=a.menu.element[0];e(c.target).closest(".ui-menu-item").length||setTimeout(function(){e(document).one("mousedown",function(g){g.target!==a.element[0]&&g.target!==d&&!e.ui.contains(d,g.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:funct... | c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke... |
this.focus = function() { this.addClassName('focused'); } | this.focus = function() { this.addClassName('focused'); gFocusedPanel = this; } | this.focus = function() { this.addClassName('focused'); } |
focusProperty = shared.keys.getFocusProperty(propName), subId | focusProp = shared.keys.getFocusProperty(propName), sendFocusInfo = { session: sessionId, user: gUserId, time: fin.now() }, subId, observation, releaseFn | this.focus = function(itemId, propName, onBlurCallback) { var sessionId = this._sessionId, focusProperty = shared.keys.getFocusProperty(propName), subId subId = this.observe(itemId, focusProperty, bind(this, function(mutation, newSession) { if (!newSession || newSession == sessionId) { return } this.releas... |
subId = this.observe(itemId, focusProperty, bind(this, function(mutation, newSession) { if (!newSession || newSession == sessionId) { return } | this.set(itemId, focusProp, JSON.stringify(sendFocusInfo)) observation = { id: itemId, property: focusProp, useCache: false, snapshot: false } subId = this._observe(observation, bind(this, function(mutation, focusJSON) { if (!subId) { return } var focusInfo try { focusInfo = JSON.parse(focusJSON) } catch(e) { } if (... | this.focus = function(itemId, propName, onBlurCallback) { var sessionId = this._sessionId, focusProperty = shared.keys.getFocusProperty(propName), subId subId = this.observe(itemId, focusProperty, bind(this, function(mutation, newSession) { if (!newSession || newSession == sessionId) { return } this.releas... |
onBlurCallback() })) this.set(itemId, '_focus', sessionId) | subId = null this.set(itemId, focusProp, null) }) return releaseFn | this.focus = function(itemId, propName, onBlurCallback) { var sessionId = this._sessionId, focusProperty = shared.keys.getFocusProperty(propName), subId subId = this.observe(itemId, focusProperty, bind(this, function(mutation, newSession) { if (!newSession || newSession == sessionId) { return } this.releas... |
this._labelListPanel.focus(); | if (this._labelViewPanel) { this._labelViewPanel.focus(); } else { this._labelListPanel.focus(); } | this.focus = function() { this._labelListPanel.focus(); } |
function focusInputField(id,bSelect) | function focusInputField(id,selectIt) | function focusInputField(id,bSelect){ var f = document.getElementById(id); if (f) { f.focus(); if (bSelect) f.select(); }} |
if (bSelect) | if(selectIt) { | function focusInputField(id,bSelect){ var f = document.getElementById(id); if (f) { f.focus(); if (bSelect) f.select(); }} |
} | function focusInputField(id,bSelect){ var f = document.getElementById(id); if (f) { f.focus(); if (bSelect) f.select(); }} | |
console.log(this._currentScroll + panelElement.offsetWidth, panelElement.offsetLeft) | this.focusPanel = function(panel) { if (!panel) { return; } this._blurFocusedPanel(); this._focusIndex = this._getPanelIndex(panel); panel.focus(); var panelElement = panel.getElement(); this._currentScroll = this._element.scrollLeft; if (panelElement.offsetLeft - this._offset < this._currentScroll) { // sc... | |
if (onBerlinDe) streetFocus = jQuery("#streetNameField").val() + '%20Berlin'; var swBerlin = "6881778.529613,1467590.9428711"; var nwBerlin = "6920608.5399765,1518650.8777585"; var viewPortBias = "&bounds="+swBerlin+"|"+nwBerlin; var url = HIDDEN_SERVICE_URL + 'geoProxy.php?q=' + urlencode(streetFocus) + viewPortBias +... | var viewPortBias = "&bounds="; if (onBerlinDe | mapTitle.indexOf("international") == -1 | mapTitle.indexOf("Deut") != -1) { streetFocus = jQuery("#streetNameField").val() + '%20Berlin'; } else { var bounds = calculateInitialBounds() viewPortBias += ""+bounds.left+","+bounds.bottom+"|"+bounds.right+","+bounds.top; } v... | function focusRequest() { if (debug) log('focusRqeust for ' + streetFocus); var streetFocus = jQuery("#streetNameField").val(); if (onBerlinDe) streetFocus = jQuery("#streetNameField").val() + '%20Berlin'; //lo var swBerlin = "6881778.529613,1467590.9428711"; var nwBerlin = "6920608.5399765,1518650.877... |
type: "GET", url: url, | type: "POST", url: SERVICE_URL, data: body, beforeSend: function(xhr) { xhr.setRequestHeader("Content-Type", "application/json") xhr.setRequestHeader("Charset", "UTF-8") }, | function focusRequest() { if (debug) log('focusRqeust for ' + streetFocus); var streetFocus = jQuery("#streetNameField").val(); if (onBerlinDe) streetFocus = jQuery("#streetNameField").val() + '%20Berlin'; //lo var swBerlin = "6881778.529613,1467590.9428711"; var nwBerlin = "6920608.5399765,1518650.877... |
async: true, | function focusRequest() { if (debug) log('focusRqeust for ' + streetFocus); var streetFocus = jQuery("#streetNameField").val(); if (onBerlinDe) streetFocus = jQuery("#streetNameField").val() + '%20Berlin'; //lo var swBerlin = "6881778.529613,1467590.9428711"; var nwBerlin = "6920608.5399765,1518650.877... | |
YAHOO.util.Assert.isTrue(isGroup || isRepeat); | foldAncestors: function(startNode, startValue, foldFunction, stopValue) { var FN = ORBEON.xforms.FlatNesting; // Determine if this a group or a repeat var isGroup = FN.isGroupBegin(startNode); var isRepeat = FN.isRepeatDelimiter(startNode); YAHOO.util.Assert.isTrue(isGroup || isRe... | |
YAHOO.util.Assert.isTrue(isGroup || isRepeat); | foldDescendants: function(startNode, startValue, foldFunction, stopValue) { var FN = ORBEON.xforms.FlatNesting; // Determine if this a group or a repeat var isGroup = this.isGroupBegin(startNode); var isRepeat = this.isRepeatDelimiter(startNode); YAHOO.util.Assert.isTrue(isGroup |... | |
return utils.html.escape("" + value); | return html.escape("" + value); | force_escape: function (value, arg, safety) { safety.is_safe = true; return utils.html.escape("" + value); }, |
format: function(object) { var prefCache = new Fireformat.PrefCache("extensions.firebug.fireformatCssFormatter"), | format: function(object, prefs) { var prefCache = prefs || new Fireformat.PrefCache("extensions.firebug.fireformatCssFormatter"), | format: function(object) { var prefCache = new Fireformat.PrefCache("extensions.firebug.fireformatCssFormatter"), writer = new Fireformat.Writer(prefCache); new CSSFormatter(writer, prefCache).printNode(object); return writer.toString(); } |
format: function(object) { var prefCache = new Fireformat.PrefCache("extensions.firebug.fireformatHtmlFormatter"), | format: function(object, prefs) { var prefCache = prefs || new Fireformat.PrefCache("extensions.firebug.fireformatHtmlFormatter"), | format: function(object) { var prefCache = new Fireformat.PrefCache("extensions.firebug.fireformatHtmlFormatter"), writer = new Fireformat.Writer(prefCache); new DOMFormatter(object.ownerDocument || object, writer, prefCache).printNode(object); return writer.toString(); } |
ds=String(dV.getDate()); ms=String(dV.getMonth()+1); d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1); m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1); y=dV.getFullYear(); switch (dF) { case "d/m/Y": return d+"/"+m+"/"+y; case "d.m.Y": return d+"."+m+"."+y; case "Y/m/d": return y+"/"+m+"/"+d; defaul... | ds=String(dV.getDate()); ms=String(dV.getMonth()+1); d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1); m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1); y=dV.getFullYear(); switch (dF) { case "d/m/Y": return d+"/"+m+"/"+y; case "d.m.Y": return d+"."+m+"."+y; case "Y/m/d": return y+"/"+m+"/"+d; defaul... | function formatDate(dV,dF){ds=String(dV.getDate());ms=String(dV.getMonth()+1);d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1);m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1);y=dV.getFullYear();switch (dF) {case "d/m/Y":return d+"/"+m+"/"+y;case "d.m.Y":return d+"."+m+"."+y;case "Y/m/d":return y+"/"... |
} | function formatDate(dV,dF){ds=String(dV.getDate());ms=String(dV.getMonth()+1);d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1);m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1);y=dV.getFullYear();switch (dF) {case "d/m/Y":return d+"/"+m+"/"+y;case "d.m.Y":return d+"."+m+"."+y;case "Y/m/d":return y+"/"... | |
ds=String(dV.getDate()); ms=String(dV.getMonth()+1); d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1); m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1); y=dV.getFullYear(); | var ds=String(dV.getDate()); var ms=String(dV.getMonth()+1); var d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1); var m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1); var y=dV.getFullYear(); | function formatDate(dV,dF){ds=String(dV.getDate());ms=String(dV.getMonth()+1);d=("0"+dV.getDate()).substring(ds.length-1,ds.length+1);m=("0"+(dV.getMonth()+1)).substring(ms.length-1,ms.length+1);y=dV.getFullYear();switch (dF) {case "d/m/Y":return d+"/"+m+"/"+y;case "d.m.Y":return d+"."+m+"."+y;case "Y/m/d":return y+"/"... |
if (milliseconds) result.push(milliseconds +" milliseconds"); | if (milliseconds) result.push(Math.round(milliseconds) +" milliseconds"); | Date.formatInterval = function(interval, value){ var second = 1000; var minute = second*60; var hour = minute*60; var day = hour*24; var week = day*7; var year = day*365; var result=[] var years = Math.floor(interval/year); interval = interval % year; if (years) result.push(years +" years"); var weeks = Math.floor(in... |
Date.formatInterval = function(interval, value){ | Date.formatInterval = function(interval,precision){ if (!precision) precision = Date.MILLI interval = Math.floor(interval/Date.getInterval(precision))*Date.getInterval(precision); | Date.formatInterval = function(interval, value){ var second = 1000; var minute = second*60; var hour = minute*60; var day = hour*24; var week = day*7; var year = day*365; var result=[] var years = Math.floor(interval/year); interval = interval % year; if (years) result.push(years +" years"); var weeks = Math.floor(in... |
ForNode: function (itemname, listname, node_list, isReversed) { | ForNode: function (node_list, empty_list, itemname, listname, isReversed) { | ForNode: function (itemname, listname, node_list, isReversed) { return function (context, callback) { var forloop = { parentloop: context.get('forloop') }, list = context.get(listname), out = ''; if (! list instanceof Array) { return nodes.TextNode(''); } ... |
if (! list instanceof Array) { return nodes.TextNode(''); } | if (! list instanceof Array) { throw 'list not iterable' } | ForNode: function (itemname, listname, node_list, isReversed) { return function (context, callback) { var forloop = { parentloop: context.get('forloop') }, list = context.get(listname), out = ''; if (! list instanceof Array) { return nodes.TextNode(''); } ... |
utils.iter.reduce(list, inner, '', function (error, result) { | iter.reduce(list, inner, '', function (error, result) { | ForNode: function (itemname, listname, node_list, isReversed) { return function (context, callback) { var forloop = { parentloop: context.get('forloop') }, list = context.get(listname), out = ''; if (! list instanceof Array) { return nodes.TextNode(''); } ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.