Lines Matching refs:replace

36 …f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return'"'+a.replace(/[\u0000-\u001f\\…
37 …]?[\\t\\n\\f ]*\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).rep…
38 …)return s;for(var d=d.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(…
39replace(a,"");else if(f=!!g){if(47!==k.charCodeAt(0))var k=x(b.g||"").replace(a,""),e=k.lastIndexO…
44 s);Q&&("string"===typeof Q?d.O(Q.replace(/[^?&=0-9A-Za-z_\-~.%]/g,M)):d.ba(Q));return d};e.N=E;e.ma…
45replace(e,w)+'")':'url("about:blank")'}function w(a){return v[a]}function M(a,d){return a?Y.ha.N(a…
52replace(/[^\w-]/g,"\\$&")+H+p+(ca?" i]":"]"))}else if(b<f&&":"===a[b])if(o=a[++b],k.test(o))l+=":"…
57 r=!b,b&&(b=b[0].replace(/ +/g,""))):(a=ba(a,k),!a||!a.length?r=n:b=a.join(", "));r||q.push(b,"{")}F…
83replace(j,M)}function E(a){return(""+a).replace(R,"&amp;").replace(P,"&lt;").replace(S,"&gt;").rep…
89 …39===m)k=k.substr(1,k.length-2);k=x(k.replace(o,""))}else k="";l.push(i,k);e=e.substr(d[0].length)…
135 …pie-container",e.classList?e.classList.remove(t):e.className=e.className.replace(t,""),n.options.e…
201 …(e),b=[];if(!a)return this._d("path",b,c);a=(a||"").replace(/\n/g," ").replace(/(-\s)/g,"-").repla…
219 …rn c},decode:function(a,b){b=null!=b?b:!1;var c="",d,e,f,g,k,l=0;for(a=a.replace(/[^A-Za-z0-9\+\/\…
220 …f));b||(c=Base64._utf8_decode(c));return c},_utf8_encode:function(a){a=a.replace(/\r\n/g,"\n");for…
260 ….charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]…
278 ….replace(/&/g,"&amp;");a=a.replace(/"/g,"&quot;");a=a.replace(/\'/g,"&#39;");a=a.replace(/</g,"&lt…
279 …String(a):null!=a.xml&&(c=a.xml.replace(/\r\n\t[\t]*/g,"").replace(/>\r\n/g,">").replace(/\r\n/g,"…
308 …=d.y;return new mxPoint(b-a.x,c-a.y)},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+
309 (b||"\\s")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+(b||"\\s…
315 …<c.length;d++){var e=c[d].split(":");1<e.length&&(e[0]=mxUtils.trim(e[0].replace(/-([a-z])/gi,func…
327 …t.createElement("pre");d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"…
328 …t.createElement("pre"),d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\n/g,"<br>").replace(/ /g,"…
556 …ot.ownerDocument==document&&this.useAbsoluteIds){var b=this.getBaseUrl().replace(/([\(\)])/g,"\\$1…
570replace(/&amp;/g,"&amp;amp;").replace(/&#60;/g,"&amp;lt;").replace(/&#62;/g,"&amp;gt;").replace(/&…
571 "&amp;").replace(/<br>/g,"<br />").replace(/<hr>/g,"<hr />").replace(/(<img[^>]+)>/gm,"$1 />")}retu…
588 …ibute("clip-path","url(#"+n.getAttribute("id")+")"):(p=this.getBaseUrl().replace(/([\(\)])/g,"\\$1…
595 …&(n.style.fontStyle="italic"),b=mxUtils.htmlEntities(b,!1),n.innerHTML=b.replace(/\n/g,"<br/>"),do…
698 …));var l=!mxUtils.isNode(this.value)&&this.replaceLinefeeds&&"html"==k?l.replace(/\n/g,"<br/>"):l,…
715 …laceTrailingNewlines(a,"<div><br></div>");return this.replaceLinefeeds?a.replace(/\n/g,"<br/>"):a};
725 …replaceTrailingNewlines(b,"<div>&nbsp;</div>");b=this.replaceLinefeeds?b.replace(/\n/g,"<br/>"):b;…
730 …s.replaceTrailingNewlines(a,"<div><br></div>"),a=this.replaceLinefeeds?a.replace(/\n/g,"<br/>"):a,…
1106 …tMode&&(c=mxUtils.replaceTrailingNewlines(c,"<div><br></div>"));return c.replace(/\n/g,"<br>")};mx…
1391 mxUtils.htmlEntities(k,!1)),k=k.replace(/\n/g,"<br>"),f=mxUtils.getSizeForString(k,f,e[mxConstants.…
1457 …oot(f)&&(g={});g=this.validateGraph(f,g);null!=g?this.setCellWarning(f,g.replace(/\n/g,"<br>")):th…
1463 …his.collapseExpandResource,e=mxUtils.htmlEntities(mxResources.get(e)||e).replace(/\\n/g,"<br>")),n…
1959 …(a)?(this.div.innerHTML="",this.div.appendChild(a)):this.div.innerHTML=a.replace(/\n/g,"<br>");thi…
2016 …est(b[c].src))return a=(new mxJSColor.URI(b[c].src)).toAbsolute(a),a.path=a.path.replace(/[^\/]+$/,
2021replace(/^\.+/,"").substr(1);else if("/./"===a.substr(0,3)||"/."===a)a="/"+a.substr(3);else if("/.…
2024 …(this.path):(c.path=null!==a.authority&&""===a.path?"/"+this.path:a.path.replace(/[^\/]+$/,"")+thi…
2312 …odel&gt;");e>d&&(b=a.substring(d,e+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;…
2373 …oLowerCase().replace(/[\/\,\(\)]/g," ").split(" "),e=[],c={},f=0;f<d.length;f++){null==c[d[f]]&&(c…
2554 …("/");var g=a.lastIndexOf(".");c=a.substring(0<=c?c+1:0,0<=g?g:a.length).replace(/[-_]/g," ")}h.pu…
2555 …a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=a[e].replace(/_/g," ");a.push(b.replace(/_/g…
2556 …eEntry("shape="+a+b.toLowerCase()+e,Math.round(g*k),Math.round(f*k),"",b.replace(/_/g," "),null,nu…
2557 …mplate("shape="+b+d.toLowerCase()+e,Math.round(f*k),Math.round(h*k),"",d.replace(/_/g," "),!0))}),…
2559 …ils.parseXml;mxUtils.parseXml=function(d){for(var e=0;e<a.length;e++)d=d.replace(new RegExp("&"+a[…
2601 Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,f…
2659replace(f,""),o:(0<v?"-":"+")+k(100*Math.floor(Math.abs(v)/60)+Math.abs(v)%60,4),S:["th","st","nd"…
2674 …tils.extractTextWithWhitespace([a])):d=this.getLabel(d),d=mxUtils.trim(d.replace(/[\x00-\x1F\x7F-\…
2762 …or in getStencil:",a,d,b,c,k)}}mxStencilRegistry.packages[d]=1}}else d=d.replace("_-_","_"),mxSten…
2766 …E_ELEMENT&&(a=e.getAttribute("name"),null!=a)){var c=c.toLowerCase(),f=a.replace(/ /g,"_");d&&mxSt…
2862 (3==a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")),1==a.nodeT…
2864 …h.length-1)&&(h=h.substring(0,h.length-1));h=this.graph.sanitizeHtml(b?h.replace(/\n/g,"<br/>"):h,…
2867 …ingNewlines(h,"<div><br></div>"));h=this.graph.sanitizeHtml(b?h.replace(/\n/g,"").replace(/&lt;br\…
2872 …tEditingValue(a.cell,b);"1"==mxUtils.getValue(a.style,"nl2Br","1")&&(c=c.replace(/\n/g,"<br/>"));r…
2873 …Utils.getValue(a.style,"nl2Br","1")?b.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"):b.replace(/\…
3100 y){var b=y.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,…
3101 …,mxUtils.bind(this,function(a){if(null!=y){var b=y.style.backgroundColor.replace(/\brgb\s*\(\s*(\d…
3114 …(p),isNaN(z)?ia.value="100 %":ia.value=Math.round(100*z)+" %"),d=m.color.replace(/\brgba?\s*\(\s*(…
3115 …ull!=e?("0"+Number(e).toString(16)).substr(-2):"")}),n=m.backgroundColor.replace(/\brgba?\s*\(\s*(…
3524 …tate.cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(h=h.replace(/\n/g,"").replace(/<br\s*.…
3525 "1")&&(h=h.replace(/\n/g,"<br/>")),c.cellLabelChanged(state.cell,c.sanitizeHtml(h)),c.setCellStyles…
3664 …a.addItem("",null,mxUtils.bind(this,function(){var a=f.style.borderColor.replace(/\brgb\s*\(\s*(\d…
3665 …dItem("",null,mxUtils.bind(this,function(){var a=f.style.backgroundColor.replace(/\brgb\s*\(\s*(\d…
3797 a[c].split("\t");if(1<b.length){var d=b[0].toLowerCase().replace(" ","_"),b=mxUtils.trim(b.slice(1,…
3799 …;this.createVertexTemplateEntry(b,parseInt(a[c].w),parseInt(a[c].h),"",d.replace(/_/g," "),null,nu…
5986 …encilPalette("cisco"+a[e],"Cisco / "+a[e],b+"/cisco/"+a[e].toLowerCase().replace(/ /g,"_")+".xml",…
7054 …e;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",k=a.replace("\n"," "),k=k.replace("- ",
7058 …rokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",m=a.replace("\n"," "),m=m.replace("- ","…
7062 mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",k=a.replace("\n"," "),k=k.replace("- ","-");f.push(this.ad…
7063 …rokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",h=a.replace("\n"," "),h=h.replace("- ","…
7066 …rokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",t=a.replace("\n"," "),t=t.replace("- ","…
7073 …rokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\n"," "),l=l.replace("- ","…
8661 …]),this.addStencilPalette("pid"+a[c],"Proc. Eng. / "+a[c],b+"/pid/"+a[c].toLowerCase().replace(" ",
10005 ….prototype.getChannelId=function(){return Graph.compress(this.getHash()).replace(/[\/ +]/g,"_")};D…
10129 !0,e[f]=mxUtils.trim(u.replace(/primary key/i,"")))}for(f=0;f<e.length;f++)if(u=mxUtils.trim(e[f]),…
10150 …);l.style.maxWidth=ra+"px";l.style.maxHeight=V+"px";var x=m.replace(".drawio.xml","").replace(".dr…
10151 "").replace(".xml","");v.appendChild(l);l.onerror=function(){this.src!=x?this.src=x:(this.src=Edito…
10264 mxUtils.trim(c[e].nodeValue.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();if(null==b&&(d&…
10266 …xtWithWhitespace([D])):label=p.getLabel(J.cell);label=mxUtils.trim(label.replace(/[\x00-\x1F\x7F-\…
10274 -1;-1<(m=b.indexOf("<",m+1));)e.push(m);m=b.match(/<[^>]*>/g);b=b.replace(/<[^>]*>/g,"");d=b.toLowe…
10340replace(/_/g," "))})):null!=t&&!b.isOffline()&&(new XMLHttpRequest).upload&&b.isRemoteFileFormat(d…
10366 …TileImg geTempDlgDiagramTileImgError"}})(J,n,t?t.replace(".drawio.xml","").replace(".drawio","").r…
10404 …,d="s"):u.checked?(c=v.value,f=Editor.GOOGLE_FONTS+encodeURIComponent(c).replace(/%20/g,"+"),d="g"…
10491 …xtractGraphModelFromXref(l));null!=f&&(f=decodeURIComponent(f.replace(/\\\(/g,"(").replace(/\\\)/g…
10493 2)),{to:"string"}).replace(/\+/g," "),null!=b&&0<b.length&&(c=b))):"tEXt"==f&&(b=b.split(String.fro…
10504 …efore(e,c)}}}};Editor.trimCssUrl=function(b){return b.replace(RegExp("^[\\s\"']+","g"),"").replace
10517 …)\s*(?:,|$)/g,function(b,f,d,e){void 0!==f?c.push(f.replace(/\\'/g,"'")):void 0!==d?c.push(d.repla…
10709 …file&gt;");d>f&&(c=b.substring(f,d+15).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\&quot;…
10729 …tAttribute("links","1"),null!=e&&b.setAttribute("edit",e));null!=g&&(g=g.replace(/&/g,"&amp;"));b=…
10731 …O_VIEWER_URL||EditorUi.drawHost+"/js/viewer-static.min.js";null!=g&&(g=g.replace(/&/g,"&amp;"));b=…
10774 …e(0,0,p,n),b,mxEvent.isAltDown(b)?null:q.substring(0,q.lastIndexOf(".")).replace(/_/g," ")),null!=…
10894 …(mxClient.IS_IE||mxClient.IS_IE11)b=b.replace(/ xmlns:\S*="http:\/\/www.w3.org\/XML\/1998\/namespa…
10899 …tpRequest).upload&&this.isRemoteFileFormat(b))this.parseFile(new Blob([b.replace(/\s+/g," ")],{typ…
11565 [g.join("\n")]).replace(/\\n/g,"\n")))for(f=0;f<g.length;f++)try{null==App.pluginsLoaded[g[f]]&&(Ap…