Lines Matching refs:replace
41 return (document.location.href.match(/(.*[\/\\])/)[0]+m[1]).replace(/^\/+/,"");
94 return str.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");
136 txt = txt.replace('{LNG_'+i.toUpperCase()+'}',s[i]);
149 return txt.replace("{TOOLBAR}", s.join(" "));
175 tc.innerHTML = strings.interface.replace("{STRINGS}",s.join("")).replace("{ID}",id)
176 ….replace('{TOKENCOUNT}',s.tokenCount).replace('{SRCLENGTH}', Math.round(txt.length/10.24)/100+'Kb'…
181 … el_1.childNodes[1].value = txt.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&");
205 …el.firstChild.lastChild.innerHTML = el.firstChild.lastChild.innerHTML.replace('{PROCESSING}', ((ne…
228 ?el.className.replace(/(^|\s)noLineNumbers(\s|$)/,"")
239 el.className = cn.replace(/(^|\s)show(ColorText|Copy)(\s|$)/g," showPlainText");
241 el.className = cn.replace(/(^|\s)show(PlainText|Copy)(\s|$)/g," showColorText");
270 el.className = cn.replace(/(^|\s)showCopy(\s|$)/g," showColorText");
272 el.className = cn.replace(/(^|\s)show(Plain|Color)Text(\s|$)/g,"") + " showCopy";