User:Darkwind/common.js: Difference between revisions

Content deleted Content added
m more commenting out
m I hate javascript
Line 122:
return li;
}
/////////////////////////////////////////////*/
 
/**** Add generic tab ****/
Line 179:
return outputurl;
}
*/
 
//function toRegExp(what)
//{
// what = what.replace(/\\/g,"\\\\");
// what = what.replace(/\(/g,"\\(").replace(/\)/g,"\\)");
// what = what.replace(/\{/g,"\\{").replace(/\}/g,"\\}");
// what = what.replace(/\[/g,"\\[").replace(/\]/g,"\\]");
// what = what.replace(/\|/g,"\\|");
// what = what.replace(/\./g,"\\.");
// what = what.replace(/\$/g,"\\$");
// what = what.replace(/\+/g,"\\+");
// what = what.replace(/\^/g,"\\^");
// what = what.replace(/\?/g,"\\?");
// what = what.replace(/\*/g,"\\*");
// what = what.replace(/\//g,"\\/");
// return what;
//}
/*
 
if (document.implementation.createDocument)
{var gml_xmlparser = new DOMParser();}