rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.d...
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...
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.d...
iF=document.getElementsByName(md).item(0); pB=iF; x=pB.offsetLeft; y=pB.offsetTop+pB.offsetHeight; var p=pB; while (p.offsetParent){ p=p.offsetParent; x+=p.offsetLeft; y+=p.offsetTop;
iF=document.getElementsByName(md).item(0); pB=iF; x=pB.offsetLeft; y=pB.offsetTop+pB.offsetHeight; var p=pB; while (p.offsetParent){ p=p.offsetParent; x+=p.offsetLeft; y+=p.offsetTop; } dt=convertDate(iF.value,dF); nN=document.createElement("div"); nN.setAttribute("id",dateDivID); nN.setAttribute("style","visibility:hi...
function Calendar(md,dF){iF=document.getElementsByName(md).item(0);pB=iF;x=pB.offsetLeft;y=pB.offsetTop+pB.offsetHeight;var p=pB;while (p.offsetParent){p=p.offsetParent;x+=p.offsetLeft;y+=p.offsetTop;}dt=convertDate(iF.value,dF);nN=document.createElement("div");nN.setAttribute("id",dateDivID);nN.setAttribute("style","v...
dt=convertDate(iF.value,dF); nN=document.createElement("div"); nN.setAttribute("id",dateDivID); nN.setAttribute("style","visibility:hidden;"); document.body.appendChild(nN); cD=document.getElementById(dateDivID); cD.style.position="absolute"; cD.style.left=x+"px"; cD.style.top=y+"px"; cD.style.visibility=(cD.style.visi...
function Calendar(md,dF){iF=document.getElementsByName(md).item(0);pB=iF;x=pB.offsetLeft;y=pB.offsetTop+pB.offsetHeight;var p=pB;while (p.offsetParent){p=p.offsetParent;x+=p.offsetLeft;y+=p.offsetTop;}dt=convertDate(iF.value,dF);nN=document.createElement("div");nN.setAttribute("id",dateDivID);nN.setAttribute("style","v...
iF=document.getElementsByName(md).item(0); pB=iF; x=pB.offsetLeft; y=pB.offsetTop+pB.offsetHeight;
var iF=document.getElementsByName(md).item(0); var pB=iF; var x=pB.offsetLeft; var y=pB.offsetTop+pB.offsetHeight;
function Calendar(md,dF){iF=document.getElementsByName(md).item(0);pB=iF;x=pB.offsetLeft;y=pB.offsetTop+pB.offsetHeight;var p=pB;while (p.offsetParent){p=p.offsetParent;x+=p.offsetLeft;y+=p.offsetTop;}dt=convertDate(iF.value,dF);nN=document.createElement("div");nN.setAttribute("id",dateDivID);nN.setAttribute("style","v...
dt=convertDate(iF.value,dF); nN=document.createElement("div");
var dt=convertDate(iF.value,dF); var nN=document.createElement("div");
function Calendar(md,dF){iF=document.getElementsByName(md).item(0);pB=iF;x=pB.offsetLeft;y=pB.offsetTop+pB.offsetHeight;var p=pB;while (p.offsetParent){p=p.offsetParent;x+=p.offsetLeft;y+=p.offsetTop;}dt=convertDate(iF.value,dF);nN=document.createElement("div");nN.setAttribute("id",dateDivID);nN.setAttribute("style","v...
cD=document.getElementById(dateDivID);
var cD=document.getElementById(dateDivID);
function Calendar(md,dF){iF=document.getElementsByName(md).item(0);pB=iF;x=pB.offsetLeft;y=pB.offsetTop+pB.offsetHeight;var p=pB;while (p.offsetParent){p=p.offsetParent;x+=p.offsetLeft;y+=p.offsetTop;}dt=convertDate(iF.value,dF);nN=document.createElement("div");nN.setAttribute("id",dateDivID);nN.setAttribute("style","v...
C.infoMsg("Thread killed") Ext.StoreMgr.get("threads").reload(); }
var result = Ext.decode(response.responseText); if (result.success){ C.body.unmask(); C.infoMsg("Task '" + name + "' deleted."); config.task.hideForm(); } else { C.showAjaxError(response.responseText); } }
callback:function(options,success,response){ C.infoMsg("Thread killed") Ext.StoreMgr.get("threads").reload(); }
element = YAHOO.util.Dom.get('repeat-begin-' + id);
element = YAHOO.util.Dom.get("repeat-begin-" + id);
callUserScript: function(functionName, targetId, observerId) { function getElement(id) { var element = YAHOO.util.Dom.get(id); if (element == null) { // Try to find repeat (some events xxforms-nodeset-changed can target the repeat) element = YAHOO.util.Dom....
var separatorPosition = Math.max(id.lastIndexOf(XFORMS_SEPARATOR_1), id.lastIndexOf(XFORMS_SEPARATOR_2)); if (separatorPosition != -1) { var repeatID = id.substring(0, separatorPosition); var iteration = id.substring(separatorPosition + 1); element = ORBEON.util.Utils.findRepeatDelimiter(repeatID, iteration); if (eleme...
element = YAHOO.util.Dom.get("repeat-begin-" + id); if (element == null) { var separatorPosition = Math.max(id.lastIndexOf(XFORMS_SEPARATOR_1), id.lastIndexOf(XFORMS_SEPARATOR_2)); if (separatorPosition != -1) { var repeatID = id.substring(0, separatorPosition); var iteration = id.substring(separatorPosition + 1); ele...
callUserScript: function(functionName, targetId, observerId) { function getElement(id) { var element = YAHOO.util.Dom.get(id); if (element == null) { // Try getting repeat delimiter var separatorPosition = Math.max(id.lastIndexOf(XFORMS_SEPARATOR_1), id.las...
$(document).unbind('mousemove.orderable', change); $(document).unbind('mouseup.orderable', stop);
$(document).unbind('.orderable');
cancel: function() { $(document).unbind('mousemove.orderable', change); $(document).unbind('mouseup.orderable', stop); if (state != null) { object.removeClass('ordering'); state.item.removeClass('ordering'); object.trigger('ordercancel', [state.item]); state = null; } },
if (callback == targetCallback) { continue; }
if (callback != targetCallback) { continue; }
cancelWindowResize: function(targetCallback) { for (var i=0, callback; callback = windowResizeCallbacks[i]; i++) { if (callback == targetCallback) { continue; } windowResizeCallbacks.splice(i, 1); return; } },
capfirst: function (value, arg) { return utils.string.cap_first("" + value); },
capfirst: function (value, arg) { return string_utils.cap_first("" + value); },
capfirst: function (value, arg) { return utils.string.cap_first("" + value); },
center: function (value, arg) { return utils.string.center("" + value, arg - 0); },
center: function (value, arg) { return string_utils.center("" + value, arg - 0); },
center: function (value, arg) { return utils.string.center("" + value, arg - 0); },
state.min = Math.min(b, a + (item.prev().offset().top || -Infinity));
state.min = Math.min(b, a + (prev.size() > 0 ? prev.offset().top : -Infinity));
var change = function(event) { var item = state.item; var target, next, top = event.pageY; var a = item.height(); var b = item.offset().top; state.min = Math.min(b, a + (item.prev().offset().top || -Infinity)); state.max = Math.max(a + b, b + (item.next().height() || Infinity)); if (!ob...
clear(id); draw(id, current);
var changed = function(id, current) { var children = find_in_tree(id, current).children; var target = $(id); target.value = current; clear(id); draw(id, current); if (children.length) { add(id, children, 0); } };
clear(id); draw(id, current);
var changed = function(id, current) { var children = find_in_tree(id, current).children; var target = $(id); target.value = current; clear(id); draw(id, current); if (children.length) { add(id, children, 0); } };
init(dd, elem_id);
var changed = function(dd) { var elem_id = dd.options[dd.selectedIndex].value; init(dd, elem_id); push_current(dd); };
return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===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,...
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===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 g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===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,...
YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disabled"),
YUA.areEqual(readonly, YUD.hasClass(YUD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disabled"),
checkButtonState: function(readonly, relevant) { return function() { _.each(["my-button-normal", "my-button-full-update"], function(buttonId) { if (relevant) { YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassNa...
YA.areEqual(readonly, OD.getElementByTagName(OD.get(buttonId), "button").disabled,
YUA.areEqual(readonly, OUD.getElementByTagName(OUD.get(buttonId), "button").disabled,
checkButtonState: function(readonly, relevant) { return function() { _.each(["my-button-normal", "my-button-full-update"], function(buttonId) { if (relevant) { YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassNa...
var classPrefix = 'dt-' + table.id.replace('\$', '-', 'g') + '-col-';
var classPrefix = 'dt-' + table.id.replace(/\$/g, '-') + '-col-';
checkCellClasses: function(table, isSplit) { if (YAHOO.env.ua.ie != 0) { return; } var headerTable = this.getHeaderTable(table, isSplit); var classPrefix = 'dt-' + table.id.replace('\$', '-', 'g') + '-col-'; this.checkCellClassesInARow(headerTable.tHead.rows[0], classPr...
var rows = tabvle.tBodies[0].rows;
var rows = table.tBodies[0].rows;
checkCellClasses: function(table, isSplit) { if (YAHOO.env.ua.ie != 0) { return; } var headerTable = this.getHeaderTable(table, isSplit); var classPrefix = 'dt-' + table.id.replace('\$', '-', 'g') + '-col-'; this.checkCellClassesInARow(headerTable.tHead.rows[0], classPr...
this.checkCellClassesInARow(table.tHead.rows[0], classPrefix); var bodyTable = this.getBodyTable(table, isSplit); var rows = bodyTable.tBodies[0].rows;
this.checkCellClassesInARow(headerTable.tHead.rows[0], classPrefix); var rows = tabvle.tBodies[0].rows;
checkCellClasses: function(table, isSplit) { if (YAHOO.env.ua.ie != 0) { return; } var classPrefix = 'dt-' + table.id.replace('\$', '-', 'g') + '-col-'; this.checkCellClassesInARow(table.tHead.rows[0], classPrefix); var bodyTable = this.getBodyTable(table, isSplit); ...
var iActual = 0; f
var iActual = 0;
checkCellClassesInARow: function(row, classPrefix) { var iActual = 0; f for (var i = 0; i < row.cells.length; i++) { var cell = row.cel...
var headerCells = table.tHead.rows[0].cells;
var headerCells = headerTable.tHead.rows[0].cells;
checkCellStyles: function(table, isSplit) { if (YAHOO.env.ua.ie == 0) { return; } var colWidths = []; var headerCells = table.tHead.rows[0].cells; for (var i = 0; i < headerCells.length; i++) { var cell = headerCells[i]; if (this.isSignificant(cell...
var bodyTable = this.getBodyTable(table, isSplit); var rows = bodyTable.tBodies[0].rows;
var rows = table.tBodies[0].rows;
checkCellStyles: function(table, isSplit) { if (YAHOO.env.ua.ie == 0) { return; } var colWidths = []; var headerCells = table.tHead.rows[0].cells; for (var i = 0; i < headerCells.length; i++) { var cell = headerCells[i]; if (this.isSignificant(cell...
if (element.id != "disabled$xforms-input-1" + XFORMS_SEPARATOR_1 + "1")
if (element.id != "disabled-input$xforms-input-1" + XFORMS_SEPARATOR_1 + "1" && element.id != "readonly-input$xforms-input-1" + XFORMS_SEPARATOR_1 + "1")
checkDisabled: function(disabled) { var elements = this.getFormControls(); for (var elementIndex = 0; elementIndex < elements.length; elementIndex++) { var element = elements[elementIndex]; if (element.id != "disabled$xforms-input-1" + XFORMS_SEPARATOR_1 + "1") YAH...
Assert.areEqual(text, OD.getStringValue(body), "unexpected message in dialog");
var span = OD.getChildElementByIndex(body, 0); Assert.areEqual(text, OD.getStringValue(span), "unexpected message in dialog");
checkDisplayedMessage: function(text) { var dialog = OD.get("xforms-message-dialog"); Assert.areEqual("visible", dialog.parentNode.style.visibility, "dialog is visible"); var body = YD.getElementsByClassName("bd", null, dialog)[0]; Assert.areEqual(text, OD.getStringVa...
return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===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,...
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:functi...
return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===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,...
log("found no feature on myNewLayer for " + givenId);
log("[ERROR] found no feature on myNewLayer for " + givenId);
function checkFeatureByOriginId(givenId) { for ( i=0; i<myNewLayer.features.length; i++ ) { if ( myNewLayer.features[i].data.originId == givenId ) { return myNewLayer.features[i]; } } // ### TODO: Show Notification to User log("found no feature on myNewLayer for " + givenId); return nul...
element.val("");
jLoader.Page_share.Textarea.CheckForLink = function ( pElement, pParent ) { element = $(pElement); if ( element.val().toString().search( new RegExp( /^http/i ) ) == 0 ) { $('#page-share').tabs('select', 1); $('#page-share .link').val ( element.val() ); $('#page-share .link').blur(); $('#page-share .link-content'...
if ( element.val().toString().search( new RegExp( /^http:\/\ $('#page-share').tabs('select', 1); $('#page-share .link').val ( element.val() ); element.val(""); $('#page-share .link').blur(); $('#page-share .link-content').focus();
if ( element.hasClass ( 'content' ) ) { if ( element.val().toString().search( new RegExp( /^http:\/\ $('#page-share').tabs('select', 1); $('#page-share .link').val ( element.val() ); element.val(""); $('#page-share .link').blur(); $('#page-share .link-content').focus(); }
jLoader.Page_share.Textarea.CheckForLink = function ( pElement, pParent ) { element = $(pElement); if ( element.val().toString().search( new RegExp( /^http:\/\//i ) ) == 0 ) { $('#page-share').tabs('select', 1); $('#page-share .link').val ( element.val() ); element.val(""); $('#page-share .link').blur(); $('#pa...
YAHOO.util.Assert.areEqual(isSplit, headerTable.tBodies.length == 0, "Header table's body doesn't match split status");
YAHOO.util.Assert.areEqual(isSplit, headerTable.tBodies.length == 0 || (headerTable.tBodies.length == 1 && headerTable.tBodies[0].rows.length == 0), "Header table's body doesn't match split status");
checkIsSplit: function(table, isSplit) { //YAHOO.util.Assert.areEqual(isSplit, table.tBodies.length == 0, "Header table's body doesn't match split status"); var headerTable = this.getHeaderTable(table, isSplit); YAHOO.util.Assert.areEqual(isSplit, headerTable.tBodies.length == 0, "Header table'...
YAHOO.util.Assert.areEqual(isSplit, table.tBodies.length == 0, "Header table's body doesn't match split status"); var bodyTable = this.getBodyTable(table, isSplit); YAHOO.util.Assert.areEqual(isSplit, bodyTable.tHead == undefined, "Body table's header doesn't match split status");
var headerTable = this.getHeaderTable(table, isSplit); YAHOO.util.Assert.areEqual(isSplit, headerTable.tBodies.length == 0, "Header table's body doesn't match split status");
checkIsSplit: function(table, isSplit) { YAHOO.util.Assert.areEqual(isSplit, table.tBodies.length == 0, "Header table's body doesn't match split status"); var bodyTable = this.getBodyTable(table, isSplit); YAHOO.util.Assert.areEqual(isSplit, bodyTable.tHead == undefined, "Body table's header d...
var bodyTable = this.getBodyTable(table, isSplit); var rows = bodyTable.tBodies[0].rows;
var rows = table.tBodies[0].rows;
checkNumberRows: function(table, nbRows, isSplit) { var bodyTable = this.getBodyTable(table, isSplit); var rows = bodyTable.tBodies[0].rows; var nbRowsActual = 0; for (var i = 0; i < rows.length; i++) { var row = rows[i]; if (this.isSignificant(row)) { ...
alert(ml); alert(my_form);
function checkOrUncheckAll(ml,bCheck){ // var ml = document.myform; var my_form=document.getElementById(ml); alert(ml); alert(my_form); var len = my_form.elements.length; for (var idx = 0; idx < len; idx++) { var e = my_form.elements[idx]; if (e.type == "checkbox") { e.checked = bCheck; } }}
alert('REQEEEE');
function checkRequiredCustomFields(cfields_inputs){ var CFIELD_TYPE_IDX=2; var cfields_container=''; var custom_field_types = new Array(); var checkStatus = {status_ok: true, msg_id: null, cfield_label: null}; var whitespace = " \t\n\r"; // Developer notes: // If new custom field types are added in PHP code, yo...
checkStatus.status_ok = false; for (var z = 0; z < s.length; z++)
for (var z = 0; z < cfield_value.length; z++)
function checkRequiredCustomFields(cfields_inputs){ var CFIELD_TYPE_IDX=2; var cfields_container=''; var custom_field_types = new Array(); var checkStatus = {status_ok: true, msg_id: null, cfield_label: null}; var whitespace = " \t\n\r"; // Developer notes: // If new custom field types are added in PHP code, yo...
var c = s.charAt(z); if (cfield_value.indexOf(c) == -1)
var c = cfield_value.charAt(z); if (whitespace.indexOf(c) == -1)
function checkRequiredCustomFields(cfields_inputs){ var CFIELD_TYPE_IDX=2; var cfields_container=''; var custom_field_types = new Array(); var checkStatus = {status_ok: true, msg_id: null, cfield_label: null}; var whitespace = " \t\n\r"; // Developer notes: // If new custom field types are added in PHP code, yo...
YAHOO.util.Assert.isObject(table.tHead, 'The table header is missing'); YAHOO.util.Assert.areEqual(1, table.tHead.rows.length, 'There should be exactly one header row (not ' + table.tHead.rows.length + ')'); var nbcolsActual = this.getNumberVisibleCells(table.tHead.rows[0].cells);
var headerTable = this.getHeaderTable(table, isSplit); YAHOO.util.Assert.isObject(headerTable.tHead, 'The table header is missing'); YAHOO.util.Assert.areEqual(1, headerTable.tHead.rows.length, 'There should be exactly one header row (not ' + headerTable.tHead.rows.length + ')'); var nbcolsActual = this.getNumberVisibl...
checkTableStructure: function(table, nbcols, isSplit) { YAHOO.util.Assert.isObject(table.tHead, 'The table header is missing'); YAHOO.util.Assert.areEqual(1, table.tHead.rows.length, 'There should be exactly one header row (not ' + table.tHead.rows.length + ')'); var nbcolsActual = this.getNumb...
var bodyTable = this.getBodyTable(table, isSplit); YAHOO.util.Assert.areEqual(1, bodyTable.tBodies.length, 'There should be exactly one body (not ' + bodyTable.tBodies.length + ')'); nbcolsActual = this.getNumberVisibleCells(bodyTable.tBodies[0].rows[2].cells);
YAHOO.util.Assert.areEqual(1, table.tBodies.length, 'There should be exactly one body (not ' + table.tBodies.length + ')'); nbcolsActual = this.getNumberVisibleCells(table.tBodies[0].rows[2].cells);
checkTableStructure: function(table, nbcols, isSplit) { YAHOO.util.Assert.isObject(table.tHead, 'The table header is missing'); YAHOO.util.Assert.areEqual(1, table.tHead.rows.length, 'There should be exactly one header row (not ' + table.tHead.rows.length + ')'); var nbcolsActual = this.getNumb...
TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g...
CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g...
TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g...
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...
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,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},chil...
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...
__.circle = function(pos, radius, attrs){ return __.raphael.circle(pos.x, pos.y, radius).attr(attrs); };
circle: function(pos, radius, attrs){ return this.raphael.circle(pos.x, pos.y, radius).attr(attrs); },
__.circle = function(pos, radius, attrs){ return __.raphael.circle(pos.x, pos.y, radius).attr(attrs); };
TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g...
h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^...
TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,k,l,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var u;(u=h[p])!=null;p++)if(u)if(q^(u.className&&(" "+u.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g...
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l...
i=i.toLowerCase();q=a}q("previousSibling",i,p,g,m,n)}},find:{ID:function(g,i,n){if(typeof i.getElementById!=="undefined"&&!n)return(g=i.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,i){if(typeof i.getElementsByName!=="undefined"){for(var n=[],m=i.getElementsByName(g[1]),p=0,q=m.length;p<q;p++)m[p].getAttr...
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l...
var delayedExecution
exports.Class = function(parent, proto) { if(!proto) { proto = parent } proto.prototype = parent.prototype var cls = function() { if(this.init) { this.init.apply(this, arguments) }} cls.prototype = new proto(function(context, method, args) { var target = parent while(target = target.prototype) { if(target[method])...
clearTimeout(delayedExecution) delayedExecution = setTimeout(bind(this, fn), 10)
var executionTimeout this[methodName] = bind(this, function() { clearTimeout(executionTimeout) executionTimeout = setTimeout(bind(fn, 'apply', this, arguments), 10) })
exports.Class = function(parent, proto) { if(!proto) { proto = parent } proto.prototype = parent.prototype var cls = function() { if(this.init) { this.init.apply(this, arguments) }} cls.prototype = new proto(function(context, method, args) { var target = parent while(target = target.prototype) { if(target[method])...
return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=...
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f<h;f++){var l=(f>0?this...
return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=...
c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}ret...
d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)del...
c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}ret...
}else{R=this._getDoc().body;}}if(R){F=M(G,J);if(this._isElement(R,"body")||this._isElement(R,"html")){if(this._isElement(R,"html")){R=this._getDoc().body;}R.appendChild(F);}else{if(R.nextSibling){R.parentNode.insertBefore(F,R.nextSibling);}else{R.parentNode.appendChild(F);}}this.currentElement[this.currentElement.lengt...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
}else{R=this._getDoc().body;}}if(R){F=M(G,J);if(this._isElement(R,"body")||this._isElement(R,"html")){if(this._isElement(R,"html")){R=this._getDoc().body;}R.appendChild(F);}else{if(R.nextSibling){R.parentNode.insertBefore(F,R.nextSibling);}else{R.parentNode.appendChild(F);}}this.currentElement[this.currentElement.lengt...
G=G.replace(/\/b>/gi,"/span>");G=G.replace(/<i/gi,'<span style="font-style: italic;"');G=G.replace(/\/i>/gi,"/span>");}G=G.replace(/ /gi," ");}else{G=G.replace(/<u/gi,"<u");G=G.replace(/\/u>/gi,"/u>");}G=G.replace(/<ol([^>]*)>/gi,"<ol$1>");G=G.replace(/\/ol>/gi,"/ol>");G=G.replace(/<li/gi,"<li");G=G.replace(/\/li>/gi,...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
G=G.replace(/\/b>/gi,"/span>");G=G.replace(/<i/gi,'<span style="font-style: italic;"');G=G.replace(/\/i>/gi,"/span>");}G=G.replace(/ /gi," ");}else{G=G.replace(/<u/gi,"<u");G=G.replace(/\/u>/gi,"/u>");}G=G.replace(/<ol([^>]*)>/gi,"<ol$1>");G=G.replace(/\/ol>/gi,"/ol>");G=G.replace(/<li/gi,"<li");G=G.replace(/\/li>/gi,...
w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(...
a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var sa=/[\n\t]/g,ha=/\s+/,Sa=/\r/g,Ta=/^(?:href|src|style)$/,Ua=/^(?:button|input)$/i,Va=/^(?:button|input|object|s...
w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(...
var inputElement = YAHOO.util.Dom.getElementsByClassName("xforms-upload-select", null, uploadElement)[0]; var parentElement = inputElement.parentNode; var newInputElement = document.createElement("input"); ORBEON.util.Dom.addClass(newInputElement, inputElement.className); newInputElement.setAttribute("type", inputEleme...
var inputElement = YAHOO.util.Dom.getElementsByClassName("xforms-upload-select", null, uploadElement)[0]; var parentElement = inputElement.parentNode; var newInputElement = document.createElement("input"); YAHOO.util.Dom.addClass(newInputElement, inputElement.className); newInputElement.setAttribute("type", inputElemen...
clearUploadControl: function(uploadElement) { var inputElement = YAHOO.util.Dom.getElementsByClassName("xforms-upload-select", null, uploadElement)[0]; var parentElement = inputElement.parentNode; var newInputElement = document.createElement("input"); ORBEON.util.Dom.addClass(newInputEle...
}]
}], usearia: true, role: "alertdialog"
clinit: function() { YAHOO.util.Event.onDOMReady(function() { // Prevent SimpleDialog from registering itself on the form YAHOO.widget.SimpleDialog.prototype.registerForm = function() {}; // Create one single instance of the YUI dialog used for xforms:mess...
var bodyDiv = YD.getElementsByClassName("bd", null, dialogDiv)[0]; bodyDiv.setAttribute("aria-live", "polite"); bodyDiv.setAttribute("role", "alert");
dialogDiv.setAttribute("aria-live", "polite");
clinit: function() { YAHOO.util.Event.onDOMReady(function() { // Prevent SimpleDialog from registering itself on the form YAHOO.widget.SimpleDialog.prototype.registerForm = function() {}; // Create one single instance of the YUI dialog used for xforms:mess...
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}...
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this....
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}...
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt...
not:function(a){return this.pushStack(ma(this,a,false),"not",a)},filter:function(a){return this.pushStack(ma(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){l=a[e];k[l]...
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filt...
F.setAttribute("method","GET");E.editor_form=F;A.on(F,"submit",function(N){A.stopEvent(N);},this,true);J.appendChild(F);var G=document.createElement("span");G.innerHTML="X";G.title=this.STR_CLOSE_WINDOW;G.className="close";A.on(G,"click",this.closeWindow,this,true);var L=document.createElement("span");L.innerHTML="^";L...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
F.setAttribute("method","GET");E.editor_form=F;A.on(F,"submit",function(N){A.stopEvent(N);},this,true);J.appendChild(F);var G=document.createElement("span");G.innerHTML="X";G.title=this.STR_CLOSE_WINDOW;G.className="close";A.on(G,"click",this.closeWindow,this,true);var L=document.createElement("span");L.innerHTML="^";L...
},render:function(){if(this._rendered){return false;}if(!this.DOMReady){this._queue[this._queue.length]=["render",arguments];return false;}if(this.get("element")){if(this.get("element").tagName){this._textarea=true;if(this.get("element").tagName.toLowerCase()!=="textarea"){this._textarea=false;}}else{return false;}}els...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
},render:function(){if(this._rendered){return false;}if(!this.DOMReady){this._queue[this._queue.length]=["render",arguments];return false;}if(this.get("element")){if(this.get("element").tagName){this._textarea=true;if(this.get("element").tagName.toLowerCase()!=="textarea"){this._textarea=false;}}else{return false;}}els...
}
};
YAHOO.xbl.fr.Datatable.colResizer = function (index, th, datatable) { this.index = index; this.th = th; this.datatable = datatable; this.rule = null; this.styles = null; this.resizerliner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagName(th, 'div') var childrenDivs = this.resizerliner.getElemen...
var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTarget(ev) != a) {
var triggerControl = YAHOO.util.Selector.query('.xforms-trigger:not(.xforms-disabled)', liner, true); var a = ORBEON.util.Dom.getElementByTagName(triggerControl, "a"); if (a != undefined && YAHOO.util.Event.getTarget(ev) != a) {
ORBEON.widgets.datatable.colSorter = function (th) { var liner = YAHOO.util.Selector.query('div.yui-dt-liner', th, true); YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTar...
var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true);
var triggerControl = YAHOO.util.Selector.query('.xforms-trigger:not(.xforms-disabled)', liner, true); var a = ORBEON.util.Dom.getElementByTagName(triggerControl, "a");
ORBEON.widgets.datatable.colSorter = function (th) { var liner = YAHOO.util.Selector.query('div.yui-dt-liner', th, true); YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTar...
ORBEON.xforms.Document.dispatchEvent(a.id, "DOMActivate");
ORBEON.xforms.Document.dispatchEvent(triggerControl.id, "DOMActivate");
ORBEON.widgets.datatable.colSorter = function (th) { var liner = YAHOO.util.Selector.query('div.yui-dt-liner', th, true); YAHOO.util.Event.addListener(liner, "click", function (ev) { var a = YAHOO.util.Selector.query('a.xforms-trigger:not(.xforms-disabled)', liner, true); if (YAHOO.util.Event.getTar...
}
};
YAHOO.xbl.fr.Datatable.colSorter = function (th) { var liner = YAHOO.util.Selector.query('div.yui-dt-liner', th, true); YAHOO.util.Event.addListener(liner, "click", function (ev) { var triggerControl = YAHOO.util.Selector.query('.xforms-trigger:not(.xforms-disabled)', liner, true); var a = ORBEON.ut...
iQ(this).remove();
self._children.forEach(function(child) { iQ(child.container).show(); });
complete: function() { iQ(this).remove(); }
"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
h)).match(/^([\d+-.]+)(.*)$/);g[h]={value:i[1],unit:i[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(e,{step:function(i,h){if(h.prop=="height")f=h.end-h.start===0?0:(h.now-h.start)/(h.end-h.start);a.toShow[0].style[h.prop]=f*g[h...
"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
var sID = args[0], oElement;
var sID = args[0];
configDescribedBy: function (type, args) { var sID = args[0], oElement; if (this.cfg.getProperty(_USE_ARIA) && sID) { oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _DESCRIBED_BY, sID); } },
oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _DESCRIBED_BY, sID);
setARIAProperty(this.innerElement, _DESCRIBED_BY, sID);
configDescribedBy: function (type, args) { var sID = args[0], oElement; if (this.cfg.getProperty(_USE_ARIA) && sID) { oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _DESCRIBED_BY, sID); } },
var sID = args[0], oElement;
var sID = args[0];
configLabelledBy: function (type, args) { var sID = args[0], oElement; if (this.cfg.getProperty(_USE_ARIA) && sID) { oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _LABELLED_BY, sID); } },
oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _LABELLED_BY, sID);
setARIAProperty(this.innerElement, _LABELLED_BY, sID);
configLabelledBy: function (type, args) { var sID = args[0], oElement; if (this.cfg.getProperty(_USE_ARIA) && sID) { oElement = this.cfg.getProperty(_ROLE) === _DIALOG ? this.innerElement : this.body; setARIAProperty(oElement, _LABELLED_BY, sID); } },
switch (sRole) {
oBody = this.body; sID = oBody.id || Dom.generateId(oBody); this.cfg.setProperty(_DESCRIBED_BY, sID);
configRole: function (type, args) { var sRole = args[0], oBody, oHeader, sID; if (sRole) { switch (sRole) { case _ALERT_DIALOG: oBody = this.body; sID = oBody.id || Dom.generateId(oBody); this.cfg.setProperty(_DESCRIBED_BY, sID); break; case _DIALOG: oHead...
case _ALERT_DIALOG: oBody = this.body; sID = oBody.id || Dom.generateId(oBody); this.cfg.setProperty(_DESCRIBED_BY, sID); break; case _DIALOG: oHeader = this.header; sID = oHeader.id || Dom.generateId(oHeader); this.cfg.setProperty(_LABELLED_BY, sID); break; }
oHeader = this.header; if (oHeader != null) { sID = oHeader.id || Dom.generateId(oHeader); this.cfg.setProperty(_LABELLED_BY, sID); }
configRole: function (type, args) { var sRole = args[0], oBody, oHeader, sID; if (sRole) { switch (sRole) { case _ALERT_DIALOG: oBody = this.body; sID = oBody.id || Dom.generateId(oBody); this.cfg.setProperty(_DESCRIBED_BY, sID); break; case _DIALOG: oHead...
oElement,
oBody,
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
sHeaderId;
sID;
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
switch (sRole) {
case _ALERT_DIALOG: oBody = this.body; sID = oBody.id || Dom.generateId(oBody); this.cfg.setProperty(_DESCRIBED_BY, sID); break;
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
oElement = this.innerElement;
oHeader = this.header;
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
break;
sID = oHeader.id || Dom.generateId(oHeader);
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
case _ALERT_DIALOG: oElement = this.body;
this.cfg.setProperty(_LABELLED_BY, sID);
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
if (oElement) { setARIARole(oElement, sRole); oHeader = this.header; sHeaderId = oHeader.id || Dom.generateId(oHeader); this.cfg.setProperty(_LABELLED_BY, sHeaderId); setRoleForCloseButton.call(this); }
setRoleForCloseButton.call(this);
configRole: function (type, args) { var sRole = args[0], oElement, oHeader, sHeaderId; if (sRole) { switch (sRole) { case _DIALOG: oElement = this.innerElement; break; case _ALERT_DIALOG: oElement = this.body; break; } if (oElement) { setARIARole(oEl...
var transport, connectParams = {} switch(jsio.__env.name) { case 'node': transport = 'tcp' connectParams.host = '127.0.0.1' connectParams.port = 5556 connectParams.timeout = 0 break; case 'browser': transport = location.hash.match(/fin-postmessage/) ? 'postmessage' : 'csp' connectParams.url = 'http: break; } this._clie...
this._connect(callback)
this.connect = function(callback) { var transport, connectParams = {} switch(jsio.__env.name) { case 'node': transport = 'tcp' connectParams.host = '127.0.0.1' connectParams.port = 5556 connectParams.timeout = 0 break; case 'browser': transport = location.hash.match(/fin-postmessage/) ? 'postme...
self._con = __.path(__.conPathCommands, self._opt.attrs); self._con.node.style.cursor = self._opt.cursor;
var opt = self._opt; self._con = gprimitives.path(csolver.conPathCommands(), opt.attrs); var con = self._con; con.node.style.cursor = opt.cursor;
connection: function(){ // self._con = __.line(__.sPoint, __.ePoint, self._opt.attrs); self._con = __.path(__.conPathCommands, self._opt.attrs); self._con.node.style.cursor = self._opt.cursor; // self._con.toBack(); self._con.show(); return this; },
self._con.show();
con.show();
connection: function(){ // self._con = __.line(__.sPoint, __.ePoint, self._opt.attrs); self._con = __.path(__.conPathCommands, self._opt.attrs); self._con.node.style.cursor = self._opt.cursor; // self._con.toBack(); self._con.show(); return this; },
this.server.unsubscribeFromItemSetMutations(itemSetId, this._itemSetSubs[itemId])
this.server.unsubscribeFromItemSetMutations(itemSetId, this._itemSetSubs[itemSetId])
this.connectionLost = function() { logger.log('connection lost - unsubscribing from item mutation subscriptions') for (var itemId in this._itemSubs) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubs[itemId]) } for (var itemSetId in this._itemSetSubs) { this.server.unsubscribeFromItemSetMutation...
logger.log('connection lost - unsubscribing from item mutation subscriptions') for (var itemId in this._itemSubs) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubs[itemId]) } for (var itemSetId in this._itemSetSubs) { this.server.unsubscribeFromItemSetMutations(itemSetId, this._itemSetSubs[itemSetId]) }
this._log('connection lost - closing redis client') this._redisClient.close()
this.connectionLost = function() { logger.log('connection lost - unsubscribing from item mutation subscriptions') for (var itemId in this._itemSubs) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubs[itemId]) } for (var itemSetId in this._itemSetSubs) { this.server.unsubscribeFromItemSetMutation...
for (var itemId in this._itemSubscriptions) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubscriptions[itemId]);
for (var itemId in this._itemSubs) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubs[itemId]); } for (var itemSetId in this._itemSetSubs) { this.server.unsubscribeFromItemSetMutations(itemSetId, this._itemSetSubs[itemId]);
this.connectionLost = function() { logger.log('connection lost - unsubscribing from item mutation subscriptions'); for (var itemId in this._itemSubscriptions) { this.server.unsubscribeFromItemMutations(itemId, this._itemSubscriptions[itemId]); } }
logger.info("Connection made", arguments)
this.connectionMade = function() { this._isConnected = true for (var i=0, cb; cb = this._onConnectedCallbacks[i]; i++) { cb() } delete this._onConnectedCallbacks }
this._itemSubscriptions = {};
this._itemSubs = {}; this._itemSetSubs = {};
this.connectionMade = function() { this._log('connectionMade'); this._itemSubscriptions = {}; }
construct : function(tag, attr, content) { if (typeof content == 'undefined' && (typeof attr != 'object' || attr instanceof JX.HTML)) { content = attr; attr = {}; } var node = document.createElement(tag); if (attr.style) { JX.copy(node.style, attr.style); delete attr.style; } if (attr.sigil) { JX.Stratcom.sigilize(n...
construct : function(str) { if (this == JX || this == window) { return new JX.HTML(str);
construct : function(tag, attr, content) { if (typeof content == 'undefined' && (typeof attr != 'object' || attr instanceof JX.HTML)) { content = attr; attr = {}; } var node = document.createElement(tag); if (attr.style) { JX.copy(node.style, attr.style); delete attr.style; }...
if (attr.meta) {
var tags = ['legend', 'thead', 'tbody', 'tfoot', 'column', 'colgroup', 'caption', 'tr', 'th', 'td', 'option']; var evil_stuff = new RegExp('^\\s*<('+tags.join('|')+')\\b', 'i'); var match = null; if (match = str.match(evil_stuff)) {
construct : function(tag, attr, content) { if (typeof content == 'undefined' && (typeof attr != 'object' || attr instanceof JX.HTML)) { content = attr; attr = {}; } var node = document.createElement(tag); if (attr.style) { JX.copy(node.style, attr.style); delete attr.style; }...
'$N('+tag+', ...): '+ 'if you specify `meta` metadata, you must also specify a `sigil`.');
'JX.HTML("<'+match[1]+'>..."): '+ 'call initializes an HTML object with an invalid partial fragment '+ 'and can not be converted into DOM nodes. The enclosing tag of an '+ 'HTML content string must be appendable to a document fragment. '+ 'For example, <table> is allowed but <tr> or <tfoot> are not.');
construct : function(tag, attr, content) { if (typeof content == 'undefined' && (typeof attr != 'object' || attr instanceof JX.HTML)) { content = attr; attr = {}; } var node = document.createElement(tag); if (attr.style) { JX.copy(node.style, attr.style); delete attr.style; }...
JX.copy(node, attr); if (content) { JX.DOM.setContent(node, content); } return node; }
this._content = str; },
construct : function(tag, attr, content) { if (typeof content == 'undefined' && (typeof attr != 'object' || attr instanceof JX.HTML)) { content = attr; attr = {}; } var node = document.createElement(tag); if (attr.style) { JX.copy(node.style, attr.style); delete attr.style; }...
if (__DEV__) { this.toString = function() { return '<'+this.x+', '+this.y+'>'; } }
construct : function(x, y) { if (this == JX || this == window) { return new JX.$V(x, y); } if (typeof y == 'undefined') { return JX.$V.getPos(x); } this.x = parseFloat(x); this.y = parseFloat(y); if (__DEV__) { this.toString = function() { return '<'+this.x+', '+this.y+'>'; ...
var template = $(source).clone();
var template = $(source).clone(true);
var construct = function(source) { var template = $(source).clone(); var instance = prepare(template); widgets.controls.before(instance); object.trigger('construct', [instance]); refresh(true); return instance; };
if (window.G_vmlCanvasManager)
if (window.G_vmlCanvasManager && !window.G_vmlCanvasManager.inited) { window.G_vmlCanvasManager.inited = true;
function constructCanvas() { canvasWidth = placeholder.width(); canvasHeight = placeholder.height(); placeholder.html(""); // clear placeholder if (placeholder.css("position") == 'static') placeholder.css("position", "relative"); // for positioning labe...
}
function constructCanvas() { canvasWidth = placeholder.width(); canvasHeight = placeholder.height(); placeholder.html(""); // clear placeholder if (placeholder.css("position") == 'static') placeholder.css("position", "relative"); // for positioning labe...
my_store.groupField != 'idx'+i) {
my_store.groupField != dataIndex) {
constructor: function (config) { Ext.apply(this, { table_id: null, showExpandCollapseGroupsButton: true, showAllColumnsButton: true, showDefaultStateButton: true, showRefreshButton: true }); Ext.ux.TableToolbar.superclass.constructor.apply(this, arguments); Ext.applyIf(this.labels, { button_refresh: "...
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...
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,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},chil...
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.filters = require('./template_defaults').filters;
function Context(o) { this.scope = [ o || {} ]; this.extends = ''; this.blocks = {}; this.autoescaping = true;}
dA=dS.split("/");
var dA=dS.split("/");
function convertDate(dS,dF){var d,m,y;if (dF=="d.m.Y")dA=dS.split(".")elsedA=dS.split("/");switch (dF){case "d/m/Y","d.m.Y":d=parseInt(dA[0],10);m=parseInt(dA[1],10)-1;y=parseInt(dA[2],10);break;case "Y/m/d":d=parseInt(dA[2],10);m=parseInt(dA[1],10)-1;y=parseInt(dA[0],10);break;default :d=parseInt(dA[1],10);m=parseInt(...