rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
logError: function(text)
logError: function(message)
logError: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logError }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
'text = "' + text + '", xcall = { function = logError }');
'message = "' + message + '", xcall = { function = logError }');
logError: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logError }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
alert("error(s) encountered casting your vote:\n" + errors);
alert("login attempt failed:\n" + errors);
function loginFinished(req, form) { if(!req.responseXML || !req.responseXML.documentElement) { alert("Error:\n" + req.responseText); return; } var response = req.responseXML.documentElement; if(response.attributes.getNamedItem("result").value.toLowerCase() != "success") { var errors = ""; for(var error ...
'info = "' + text + '", xcall = { function = logInfo }');
'text = "' + text + '", xcall = { function = logInfo }');
logInfo: function(text) { var ret = xcall.invoke( 'info = "' + text + '", xcall = { function = logInfo }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
logInfo: function(text)
logInfo: function(message)
logInfo: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logInfo }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
'text = "' + text + '", xcall = { function = logInfo }');
'message = "' + message + '", xcall = { function = logInfo }');
logInfo: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logInfo }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
'warning = "' + text + '", xcall = { function = logWarning }');
'text = "' + text + '", xcall = { function = logWarning }');
logWarning: function(text) { var ret = xcall.invoke( 'warning = "' + text + '", xcall = { function = logWarning }'); var parsedRet = parseStore(ret); return true; },
return true;
return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0;
logWarning: function(text) { var ret = xcall.invoke( 'warning = "' + text + '", xcall = { function = logWarning }'); var parsedRet = parseStore(ret); return true; },
logWarning: function(text)
logWarning: function(message)
logWarning: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logWarning }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
'text = "' + text + '", xcall = { function = logWarning }');
'message = "' + message + '", xcall = { function = logWarning }');
logWarning: function(text) { var ret = xcall.invoke( 'text = "' + text + '", xcall = { function = logWarning }'); var parsedRet = parseStore(ret); return isset(parsedRet) && isset(parsedRet.success) && parsedRet.success > 0; },
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){v...
"`").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(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){v...
utils.iter.reduce(this, function (p, c, idx, list, next) {
iter.reduce(this, function (p, c, idx, list, next) {
function make_nodelist() { var node_list = []; 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); }; node_list.only_types = function (/*ar...
try { view.apply(null, args); } catch (e) { debuginfo.last_e = e; show_500(req, res, e); }
read_arguments(req, function (error) { if (error) { return show_500(req, res, error); } try { view.apply(null, args); } catch (e) { debuginfo.last_e = e; show_500(req, res, e); } });
exports.makeApp = function(urls, options) { // Compile the regular expressions var compiled = urls.map(function(pair) { return [new RegExp(pair[0]), pair[1]]; }); options = options || {}; var show_404 = (options.show_404 || default_show_404); var show_500 = (options.show_500 || default_show_500...
d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.i...
z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="...
d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.i...
"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...
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){...
a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,...
z,j[z])===false)break}else for(v=j[0];H<G&&s.call(v,H,v)!==false;v=j[++H]);return j},trim:O?function(j){return j==null?"":O.call(j)}:function(j){return j==null?"":j.toString().replace(k,"").replace(o,"")},makeArray:function(j,s){var v=s||[];if(j!=null){var z=b.type(j);j.length==null||z==="string"||z==="function"||z==="...
a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,...
stop_offset = stopMakerDiv.offset();
function mkStop(n, color, opac, sel, stop_elem) { var stop = stop_elem || mkElem('stop',{'stop-color':color,'stop-opacity':opac,offset:n}, curGradient); if(stop_elem) { color = stop_elem.getAttribute('stop-color'); opac = stop_elem.getAttribute('stop-opacity'); n = stop_elem.getAttribute('offset');...
if (! ORBEON.util.Dom.hasClass(document.body, "xforms-disable-hint-as-tooltip")
if (! YAHOO.util.Dom.hasClass(document.body, "xforms-disable-hint-as-tooltip")
mouseout: function(event) { var target = ORBEON.xforms.Events._findParentXFormsControl(YAHOO.util.Event.getTarget(event)); if (target != null) { // Send the mouseout event to the YUI tooltip to handle the case where: (1) we get the mouseover event, (2) we // create a YUI tooltip,...
if (ORBEON.util.Dom.hasClass(target, "xforms-dialog-appearance-minimal")) {
var yuiTooltip = ORBEON.xforms.Globals.hintTooltipForControl[target.id]; if (! ORBEON.util.Dom.hasClass(document.body, "xforms-disable-hint-as-tooltip") && YAHOO.lang.isObject(yuiTooltip)) { yuiTooltip.onContextMouseOut.call(target.id, event, yuiTooltip);
mouseout: function(event) { var target = ORBEON.xforms.Events._findParentXFormsControl(YAHOO.util.Event.getTarget(event)); if (target != null) { if (ORBEON.util.Dom.hasClass(target, "xforms-dialog-appearance-minimal")) { // Minimal dialog: register listener to maybe close the...
this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item")...
deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.ac...
this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item")...
id: shared.keys.getItemPropertyKey(itemID, prop)
id: shared.keys.getItemPropertyKey(itemID, resolved.property)
this.mutate = function(op, id, prop, args) { var resolved = this._resolveCachedPropertyChain(id, prop), itemID = this._getItemID(resolved.id) var mutation = { op: op, args: args, prop: resolved.property, id: shared.keys.getItemPropertyKey(itemID, prop) // this should be called key } if (itemID != thi...
var itemId = mutation.id, propName = mutation.prop,
var key = mutation.id, propName = shared.keys.getKeyInfo(key).property,
this.mutateItem = function(mutation, originConnection, callback) { var itemId = mutation.id, propName = mutation.prop, operation = this._operationMap[mutation.op], args = Array.prototype.slice.call(mutation.args, 0) connId = originConnection.getId(), mutationBytes = connId.length + connId + JSON.stringify(m...
mutationBytes = connId.length + connId + JSON.stringify(mutation),
mutationBytes = connId.length + connId + JSON.stringify(mutation)
this.mutateItem = function(mutation, originConnection, callback) { var itemId = mutation.id, propName = mutation.prop, operation = this._operationMap[mutation.op], args = Array.prototype.slice.call(mutation.args, 0) connId = originConnection.getId(), mutationBytes = connId.length + connId + JSON.stringify(m...
args.unshift(shared.keys.getItemPropertyKey(itemId, propName))
args.unshift(key)
this.mutateItem = function(mutation, originConnection, callback) { var itemId = mutation.id, propName = mutation.prop, operation = this._operationMap[mutation.op], args = Array.prototype.slice.call(mutation.args, 0) connId = originConnection.getId(), mutationBytes = connId.length + connId + JSON.stringify(m...
var itemPropChannel = shared.keys.getItemPropertyChannel(itemId, propName)
this.mutateItem = function(mutation, originConnection, callback) { var itemId = mutation.id, propName = mutation.prop, operation = this._operationMap[mutation.op], args = Array.prototype.slice.call(mutation.args, 0) connId = originConnection.getId(), mutationBytes = connId.length + connId + JSON.stringify(m...
this._redisClient.publish(itemPropChannel, mutationBytes)
this._redisClient.publish(key, mutationBytes)
this.mutateItem = function(mutation, originConnection, callback) { var itemId = mutation.id, propName = mutation.prop, operation = this._operationMap[mutation.op], args = Array.prototype.slice.call(mutation.args, 0) connId = originConnection.getId(), mutationBytes = connId.length + connId + JSON.stringify(m...
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return m.transparent;return m[f.trim(c).toLowerCase()]}function r(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="tran...
a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return d.extend(this._change.s.apply(this,arguments)...
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return m.transparent;return m[f.trim(c).toLowerCase()]}function r(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="tran...
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveF...
"`").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...
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveF...
h=h.toLowerCase();q=b}q("parentNode",h,l,g,p,k)},"~":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,l,g,p,k)}},find:{ID:function(g,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(type...
l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},fin...
h=h.toLowerCase();q=b}q("parentNode",h,l,g,p,k)},"~":function(g,h,k){var l=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,l,g,p,k)}},find:{ID:function(g,h,k){if(typeof h.getElementById!=="undefined"&&!k)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(type...
for (var icol = 0; icol < this.headerColumns.length; icol++) { var headerColumn = this.headerColumns[icol]; if (headerColumn.parentNode === null) { return true; } var divs = YAHOO.util.Dom.getElementsByClassName('yui-dt-liner', 'div', headerColumn); if (divs.length > 0) { var div = divs[0]; if (div === undefined) { ret...
needsRedraw: function() { return this.headerColumns[0].parentNode === null; for (var icol = 0; icol < this.headerColumns.length; icol++) { var headerColumn = this.headerColumns[icol]; if (headerColumn.parentNode === null) { return true; } var...
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previ...
c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},pa...
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previ...
this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(":first"));else{var b=this.active.offset().top,c=this.element.height(),d=this.element.children("li").filter(function(){var f=e(this).offset().top-b-c+e(this).height();return f<10&&f>-10...
a.length?this.activate(f,a):this.activate(f,this.element.children(b))}else this.activate(f,this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(".ui-menu-item:first"));else{var b=this.active.offset().top,f=this.element.height(),c=this.ele...
this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(":first"));else{var b=this.active.offset().top,c=this.element.height(),d=this.element.children("li").filter(function(){var f=e(this).offset().top-b-c+e(this).height();return f<10&&f>-10...
c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHan...
if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K<Q;K++)if((j=arguments[K])!=null)for(s in j){v=G[s];z=j[s];if(G!==z)if(ga&&z&&(b.isPlainObject(z)||(H=b.isArray(z)))){if(H){H=false;v=v&&b.isArray(v)?v:[]}else v=v&&b.isPlainObject(v)?v:{};G[s]=...
c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHan...
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.rem...
l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toU...
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.rem...
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.rem...
!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...
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.rem...
charCode: e.charCode,
function normalizeEvent(e) { e = e || event if (!e.target) { e.target = e.srcElement } var eventObj = { charCode: e.charCode, keyCode: e.keyCode, metaKey: e.metaKey, __realEventObject: e } if (eventObj.charCode == 13 && eventObj.keyCode == 13) { eventObj.charCode = 0 // in Webkit, return giv...
if (eventObj.charCode == 13 && eventObj.keyCode == 13) { eventObj.charCode = 0
if (e.type == 'keypress') { eventObj.charCode = (eventObj.charCode == 13 && eventObj.keyCode == 13) ? 0 : e.charCode
function normalizeEvent(e) { e = e || event if (!e.target) { e.target = e.srcElement } var eventObj = { charCode: e.charCode, keyCode: e.keyCode, metaKey: e.metaKey, __realEventObject: e } if (eventObj.charCode == 13 && eventObj.keyCode == 13) { eventObj.charCode = 0 // in Webkit, return giv...
if (typeof text == "string") { return text.replace(XFORMS_REGEXP_CR, ""); } else { return text;
if (typeof text == "string") { return text.replace(XFORMS_REGEXP_CR, ""); } else { return text; }
normalizeSerializedHTML: function(text) { // Mmmh, the caller might pass an integer, e.g. for the slider. Not sure if fixing this here is the best way. if (typeof text == "string") { return text.replace(XFORMS_REGEXP_CR, ""); } else { return text; } }
}
normalizeSerializedHTML: function(text) { // Mmmh, the caller might pass an integer, e.g. for the slider. Not sure if fixing this here is the best way. if (typeof text == "string") { return text.replace(XFORMS_REGEXP_CR, ""); } else { return text; } }
callback(false, utils.date.format_date(new Date(), format));
callback(false, date_utils.format_date(new Date(), format));
NowNode: function (format) { if (format.match(/^["']/)) { format = format.slice(1, -1); } return function (context, callback) { callback(false, utils.date.format_date(new Date(), format)); }; }
}
},
NowNode: function (format) { if (format.match(/^["']/)) { format = format.slice(1, -1); } return function (context, callback) { callback(false, utils.date.format_date(new Date(), format)); }; }
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|...
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(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){ret...
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|...
if (YAHOO.env.ua.ie != 0 && YAHOO.env.ua.ie <= 7) { var tables = element.getElementsByTagName("table"); window.setTimeout(function() { element.className = element.className; for (var tableIndex = 0; tableIndex < tables.length; tableIndex++) { var table = tables[tableIndex]; table.className = table.className; } }, ORBEO...
if (YAHOO.env.ua.ie != 0 && YAHOO.env.ua.ie <= 7) { var tables = element.getElementsByTagName("table"); window.setTimeout(function() { element.className = element.className; for (var tableIndex = 0; tableIndex < tables.length; tableIndex++) { var table = tables[tableIndex]; table.className = table.className; } }, ORBEO...
nudgeAferDelay: function(element) { if (YAHOO.env.ua.ie != 0 && YAHOO.env.ua.ie <= 7) { var tables = element.getElementsByTagName("table"); window.setTimeout(function() { element.className = element.className; for (var tableIndex = 0; tableIndex < tables.le...
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function o(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in s||/scrollbar/....
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="tran...
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function o(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in s||/scrollbar/....
function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&...
c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.han...
function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&...
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveF...
e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=...
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveF...
return this._observe(itemId, propName, callback)
return this._observe({ id: itemId, property: propName }, callback)
this.observe = function(itemId, propName, callback) { if (!itemId || !propName || !callback) { logger.error("observe requires three arguments", itemId, propName, callback); } return this._observe(itemId, propName, callback) }
var subId = this._observe(itemId, propName, callback, { snapshot: false })
var subId = this._observe({ id: itemId, property: propName, snapshot: false }, callback)
this.observeList = function(itemId, propName, callback, length) { if (!itemId || !propName || !callback) { logger.error("observe requires at least three arguments", itemId, propName, callback, length); } var subId = this._observe(itemId, propName, callback, { snapshot: false }) this.extendList(itemId, propName, l...
return this._observe(this._localId, propName, callback, { local: true })
return this._observe({ id: this._localId, property: propName, local: true }, callback)
this.observeLocal = function(propName, callback) { if (!propName || !callback) { logger.error("observeLocal requires two arguments", propName, callback); } return this._observe(this._localId, propName, callback, { local: true }) }
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null...
e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+...
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null...
$('#page-share .attach .title').val( data.title ); $('#page-share .attach .description').val( data.description );
var title = $('<div />').html(data.title).text(); $('#page-share .attach .title').val ( title ); $('#page-share .attach .description').html ( data.description );
jLoader.Page_share.Text.OnBlur = function ( pElement, pParent ) { element = $(pElement); if ( typeof currentLink != "undefined" ) { if ( currentLink == element.val() ) { return ( false ); } } if ( element.hasClass ( 'link' ) ) { $('#page-share .attach').hide(); $('#page-share .loading').show(); ...
jTranslations[pElement.id] = "friends"; if ( $(pElement).parent().attr('class') == 'profile-friends-circle-remove' ) { return ( confirm ( __("Confirm Delete Circle") ) ); } return ( true );
jLoader.Profile_friends.Anchor.OnClick = function ( pElement, pParent ) {}
jLoader.Page_share.Checkbox.OnClick = function ( pElement, pParent ) {
jLoader.Page_share.Button.OnClick = function ( pElement, pParent ) {
jLoader.Page_share.Checkbox.OnClick = function ( pElement, pParent ) { element = $(pElement); parent = element.parent(); if ( parent.hasClass ( 'everybody' ) ) { if (pElement.checked ) { $('#page-share .friends input').attr ( 'checked', false ); $('#page-share .circle input').attr ( 'checked', false ); $('#pag...
if ( parent.hasClass ( 'everybody' ) ) { if (pElement.checked ) { $('#page-share .friends input').attr ( 'checked', false ); $('#page-share .circle input').attr ( 'checked', false ); $('#page-share .nobody input').attr ( 'checked', false );
if ( parent.hasClass ( 'thumbs-scroll' ) ) { var current = $('#page-share .attach .selected'); if ( element.hasClass ( 'scroll-next' ) ) { if ( current.next().parent().html() ) { $('#page-share .attach .selected').next().addClass ( 'selected' ); $('#page-share .attach .selected').first().removeClass ( 'selected' ); } }...
jLoader.Page_share.Checkbox.OnClick = function ( pElement, pParent ) { element = $(pElement); parent = element.parent(); if ( parent.hasClass ( 'everybody' ) ) { if (pElement.checked ) { $('#page-share .friends input').attr ( 'checked', false ); $('#page-share .circle input').attr ( 'checked', false ); $('#pag...
} else if ( parent.hasClass ( 'friends' ) ) { if (pElement.checked ) { $('#page-share .everybody input').attr ( 'checked', false ); $('#page-share .circle input').attr ( 'checked', false ); $('#page-share .nobody input').attr ( 'checked', false ); } } else if ( parent.hasClass ( 'circle' ) ) { if (pElement.checked ) { ...
var current = $('#page-share .attach .selected'); $('#page-share input[name=LinkThumb]').val ( current.attr ('src') ); return ( false );
jLoader.Page_share.Checkbox.OnClick = function ( pElement, pParent ) { element = $(pElement); parent = element.parent(); if ( parent.hasClass ( 'everybody' ) ) { if (pElement.checked ) { $('#page-share .friends input').attr ( 'checked', false ); $('#page-share .circle input').attr ( 'checked', false ); $('#pag...
if (ORBEON.util.Dom.hasClass(srcElement, "xforms-dnd") && srcElement.nodeName.toLowerCase() == destElement.getEl().nodeName.toLowerCase()) {
if (YAHOO.util.Dom.hasClass(srcElement, "xforms-dnd") && srcElement.nodeName.toLowerCase() == destElement.getEl().nodeName.toLowerCase()) {
onDragOver: function(e, id) { var srcElement = this.getEl(); var srcDelimiter = YAHOO.util.Dom.getPreviousSibling(srcElement); var destElement = YAHOO.util.Dom.get(id)[0]; if (ORBEON.util.Dom.hasClass(srcElement, "xforms-dnd") && srcElement.nodeName.toLowerCase() == destElement.getEl().n...
jLoader.Page_share.Textarea.OnKeyDown = function ( pElement, pParent ) { jLoader.Page_share.Textarea.CheckForLink ( pElement, pParent );
jLoader.Page_share.Text.OnKeyDown = function ( pElement, pParent ) { element = $(pElement); element.keypress(function(e) { if (e.which == 13) { element.blur(); } });
jLoader.Page_share.Textarea.OnKeyDown = function ( pElement, pParent ) { jLoader.Page_share.Textarea.CheckForLink ( pElement, pParent );}
return;
} else { onload.push(func);
JX.onload = function(func) { if (loaded) { func(); return; } onload.push(func); }
onload.push(func);
JX.onload = function(func) { if (loaded) { func(); return; } onload.push(func); }
this.subscribe(_BEFORE_HIDE, onPanelBeforeHide, m_oFocusedElement);
var sEvent = (this.cfg.getProperty("modal") === true) ? "hideMask" : _BEFORE_HIDE; this.subscribe(sEvent, restoreFocus, m_oFocusedElement);
var onPanelBeforeShow = function () { this.subscribe(_BEFORE_HIDE, onPanelBeforeHide, m_oFocusedElement); };
var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { htmlForm = $('<form id="post-html-for-validation" method="post" action="' + "http: } htmlForm[0].submit();
var htmlForm = document.createElement("form"), htmlInput = document.createElement("input"); htmlForm.action = "http: htmlForm.method = "post"; htmlForm.enctype = "multipart/form-data"; htmlForm.target = "_blank"; htmlInput.type = "text"; htmlInput.name = "fragment"; htmlInput.value = xhr.responseText; htmlForm.appen...
xhr.onreadystatechange = function () { if (xhr.readyState === 4) { var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { htmlForm = $('<form id="post-html-for-validation" method="post" action="' + "http://validator.w3.org/check" + '" target="_blank"><input type="text" id="f...
$('<form id="post-html-for-validation" method="post" action="' + "http:
htmlForm = $('<form id="post-html-for-validation" method="post" action="' + "http:
xhr.onreadystatechange = function () { if (xhr.readyState === 4) { var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { $('<form id="post-html-for-validation" method="post" action="' + "http://validator.w3.org/check" + '" target="_blank"><input type="text" id="fragment" na...
chrome.extension.sendRequest({ sendPageHTMLToValidator : true, pageHTML : xhr.responseText } );
$('<form id="post-html-for-validation" method="post" action="' + "http:
xhr.onreadystatechange = function () { if (xhr.readyState === 4) { chrome.extension.sendRequest({ sendPageHTMLToValidator : true, pageHTML : xhr.responseText } ); } };
false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,...
A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);ret...
false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,...
$('<form id="post-html-for-validation" method="post" action="' + "http:
var htmlForm = $("#post-html-for-validation"); if (htmlForm.length === 0) { $('<form id="post-html-for-validation" method="post" action="' + "http: } htmlForm[0].submit();
xhr.onreadystatechange = function () { if (xhr.readyState === 4) { $('<form id="post-html-for-validation" method="post" action="' + "http://validator.w3.org/check" + '" target="_blank"><input type="text" id="fragment" name="fragment" value=\'' + xhr.responseText.replace(/'/g, "&#145;") + '\'></form>').appe...
}
},
onRendered: function(control, callback) { if (renderedCustomEvents[control.id] === true) { // Already rendered. callback(); } else { // Create custom event if necessary if (renderedCustomEvents[control.id] === undefined) ...
document.getElementById(datePicker.idField).value = dt.format("m/d/Y");
document.getElementById(datePicker.idField).value = dt.format(datePicker.format);
function onSelect(datePicker,date){ var dt = new Date(date); document.getElementById(datePicker.idField).value = dt.format("m/d/Y"); datePicker.destroy();}
f.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index",c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:functi...
d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable"...
f.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index",c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:functi...
window.open(fRoot + url, "Assignment Overview", windowCfg);
window.open(fRoot+url, '_blank', windowCfg);
function openAssignmentOverviewWindow(user_id, build_id, tplan_id) { var url = "lib/testcases/tcAssignedToUser.php"; url += "?user_id=" + user_id + "&build_id=" + build_id + "&tplan_id=" + tplan_id; var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes"; window.open(fRoot + url, "Assignment ...
var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes";
var width = getCookie("AssignmentOverviewWidth"); var height = getCookie("AssignmentOverviewHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes"; alert(windowCfg);
function openAssignmentOverviewWindow(user_id, build_id, tplan_id) { var url = "lib/testcases/tcAssignedToUser.php"; url += "?user_id=" + user_id + "&build_id=" + build_id + "&tplan_id=" + tplan_id; var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes"; window.open(fRoot+url, '_blank', wind...
alert(windowCfg);
function openAssignmentOverviewWindow(user_id, build_id, tplan_id) { var url = "lib/testcases/tcAssignedToUser.php"; url += "?user_id=" + user_id + "&build_id=" + build_id + "&tplan_id=" + tplan_id; // 20101008 - asimon - BUGID 3311 var width = getCookie("AssignmentOverviewWidth"); var height = getCookie("AssignmentOve...
var windowCfg = "width=510,height=270,resizable=yes,dependent=yes,scrollbars=yes";
var windowCfg = "width=800,height=600,resizable=yes,dependent=yes,scrollbars=yes";
function openExecEditWindow(exec_id,tcversion_id,tplan_id,tproject_id){ var target_url = "lib/execute/editExecution.php"; var windowCfg = "width=510,height=270,resizable=yes,dependent=yes,scrollbars=yes"; window.open(fRoot+target_url+"?exec_id="+exec_id+"&tcversion_id="+tcversion_id+"&tplan_id="+tplan_id+"&tproject_id=...
var windowCfg = "width=800,height=600,resizable=yes,dependent=yes,scrollbars=yes";
var width = getCookie("ExecEditPopupWidth"); var height = getCookie("ExecEditPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes";
function openExecEditWindow(exec_id,tcversion_id,tplan_id,tproject_id){ var target_url = "lib/execute/editExecution.php"; var windowCfg = "width=800,height=600,resizable=yes,dependent=yes,scrollbars=yes"; window.open(fRoot+target_url+"?exec_id="+exec_id+"&tcversion_id="+tcversion_id+"&tplan_id="+tplan_id+"&tproject_id=...
var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes";
var width = getCookie("TCExecPopupWidth"); var height = getCookie("TCExecPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes"; alert(windowCfg);
function openExecutionWindow(tc_id, tcversion_id, build_id, tplan_id, platform_id) { var url = "lib/execute/execSetResults.php?" + "version_id=" + tcversion_id + "&level=testcase&id=" + tc_id + "&tplan_id=" + tplan_id + "&setting_build=" + build_id + "&setting_platform=...
alert(windowCfg);
function openExecutionWindow(tc_id, tcversion_id, build_id, tplan_id, platform_id) { var url = "lib/execute/execSetResults.php?" + "version_id=" + tcversion_id + "&level=testcase&id=" + tc_id + "&tplan_id=" + tplan_id + "&setting_build=" + build_id + "&setting_platform=...
function openImportResult(windows_title) { wref = window.open(fRoot+"lib/results/resultsImport.php",
function openImportResult(windows_title,tplan_id,build_id,platform_id) { args = "tplanID=" + tplan_id + "&buildID=" + build_id + "&platformID=" + platform_id; wref = window.open(fRoot+"lib/results/resultsImport.php?"+args,
function openImportResult(windows_title) { wref = window.open(fRoot+"lib/results/resultsImport.php", windows_title,"menubar=no,width=650,height=500,toolbar=no,scrollbars=yes"); wref.focus();}
map.zoomTo(11);
if (onBerlinDe) map.zoomTo(LEVEL_OF_CITY_ZOOM);
function openLayersInit(openBounds){ var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), units: "m", maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.3...
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34)
maxExtent: openBounds
function openLayersInit(openBounds){ // Map Options var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), units: "m", maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037...
else map.addLayers([mapnik, googleBaseLayer]);
else map.addLayers([googleBaseLayer, mapnik]);
function openLayersInit(openBounds){ // Map Options var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), units: "m", maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037...
windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,dependent=yes";
var width = getCookie("ReqSpecPopupWidth"); var height = getCookie("ReqSpecPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes"; alert(windowCfg);
function openLinkedReqSpecWindow(reqspec_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqSpecView.php"; feature_url += "?req_spec_id=" + reqspec_id + anchor; windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,depende...
windowCfg="width=510,height=300,resizable=yes,scrollbars=yes,dependent=yes";
windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,dependent=yes";
function openLinkedReqSpecWindow(reqspec_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqSpecView.php"; feature_url += "?req_spec_id=" + reqspec_id + anchor; windowCfg="width=510,height=300,resizable=yes,scrollbars=yes,depende...
alert(windowCfg);
function openLinkedReqSpecWindow(reqspec_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqSpecView.php"; feature_url += "?req_spec_id=" + reqspec_id + anchor; // 20101008 - asimon - BUGID 3311 var width = getCookie("ReqSpecPopu...
windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,dependent=yes";
var width = getCookie("ReqPopupWidth"); var height = getCookie("ReqPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes"; alert(windowCfg);
function openLinkedReqWindow(req_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqView.php"; feature_url += "?showReqSpecTitle=1&requirement_id=" + req_id + anchor; windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,d...
windowCfg="width=510,height=300,resizable=yes,scrollbars=yes,dependent=yes";
windowCfg="width=800,height=400,resizable=yes,scrollbars=yes,dependent=yes";
function openLinkedReqWindow(req_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqView.php"; feature_url += "?showReqSpecTitle=1&requirement_id=" + req_id + anchor; windowCfg="width=510,height=300,resizable=yes,scrollbars=yes,d...
alert(windowCfg);
function openLinkedReqWindow(req_id, anchor){ if (anchor == null) { anchor = ''; } else { anchor = '#' + anchor; } var windowCfg=''; var feature_url = "lib/requirements/reqView.php"; feature_url += "?showReqSpecTitle=1&requirement_id=" + req_id + anchor; // 20101008 - asimon - BUGID 3311 var width = getCookie("ReqPo...
var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes";
var width = getCookie("TCEditPopupWidth"); var height = getCookie("TCEditPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var windowCfg = "width="+width+",height="+height+",resizable=yes,scrollbars=yes,dependent=yes"; alert(windowCfg);
function openTCEditWindow(tc_id) { var url = "lib/testcases/archiveData.php?edit=testcase&id=" + tc_id; var windowCfg = "width=800,height=600,resizable=yes,scrollbars=yes,dependent=yes"; window.open(fRoot+url, '_blank', windowCfg);}
alert(windowCfg);
function openTCEditWindow(tc_id) { var url = "lib/testcases/archiveData.php?edit=testcase&id=" + tc_id; // 20101008 - asimon - BUGID 3311 var width = getCookie("TCEditPopupWidth"); var height = getCookie("TCEditPopupHeight"); if (width == null) { var width = "800"; } if (height == null) { var height = "600"; } var ...
this.tableHeight = this.table.clientHeight;
this.tableHeight = this.table.clientHeight + 5;
ORBEON.widgets.datatable.prototype.optimizeWidth = function (minWidth) { this.headerContainer.style.position = "absolute"; this.headerContainer.style.width = "2500px"; var savedWidth = this.table.style.width; this.table.style.width = "auto"; var width = this.table.clientWidth; this.tableHeight = this....
this.alpha = options.alpha || 100;
this.alpha = isNaN(options.alpha) ? 100 : options.alpha;
Paint: function(opt) { var options = opt || {}; this.alpha = options.alpha || 100; // copy paint object if (options.copy) { this.type = options.copy.type; this.alpha = options.copy.alpha; this.solidColor = null; this.linearGradient = null; this.radialGradient = null; switch(this....
this.radialGradient = null;
Paint: function(opt) { var options = opt || {}; this.alpha = options.alpha || 100; // copy paint object if (options.copy) { this.type = options.copy.type; this.alpha = options.copy.alpha; this.solidColor = null; this.linearGradient = null; this.radialGradient = null; switch(this....
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="obj...
c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data=...
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="obj...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
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:...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},pa...
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c...
if (d[i].data) {
if (d[i].data != null) {
function parseData(d) { var res = []; for (var i = 0; i < d.length; ++i) { var s = $.extend(true, {}, options.series); if (d[i].data) { s.data = d[i].data; // move the data instead of deep-copy delete d[i].data; ...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
!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...
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")...
var idLength = mutationBytes[0] - 48, mutationString = mutationBytes.toString(),
var mutationJSON, originId if (mutationBytes[0] == jsonBeginCharCode) { mutationJSON = mutationBytes.toString() } else { var idLength = mutationBytes[0] - 48, mutationString = mutationBytes.toString()
exports.parseMutationBytes = function(mutationBytes) { // The first byte gives length of connection id var idLength = mutationBytes[0] - 48, mutationString = mutationBytes.toString(), originId = mutationString.substr(1, idLength) mutationJSON = mutationString.substr(1 + idLength) return { json: mutationJSON, origin...
}
exports.parseMutationBytes = function(mutationBytes) { // The first byte gives length of connection id var idLength = mutationBytes[0] - 48, mutationString = mutationBytes.toString(), originId = mutationString.substr(1, idLength) mutationJSON = mutationString.substr(1 + idLength) return { json: mutationJSON, origin...
var defaults = require('./template_defaults'); this.tags = defaults.tags; this.nodes = defaults.nodes;
function Parser(input) { this.token_list = tokenize(input); this.indent = 0; this.blocks = {};}
__.path = function(commands, attrs){ return __.raphael.path(commands.join(" ")).attr(attrs); };
path: function(commands, attrs){ return this.raphael.path(commands.join(" ")).attr(attrs); },
__.path = function(commands, attrs){ return __.raphael.path(commands.join(" ")).attr(attrs); };