X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=mathml.js;h=0000000000000000000000000000000000000000;hp=a72c2e59d802fbebb0967ae665998bb11f5219b3;hb=b3b3c1c988e48e53f295529431d640528bb17927;hpb=3a24f457b5d8dfe280e95913d3b13d65f31b6fe8 diff --git a/mathml.js b/mathml.js deleted file mode 100644 index a72c2e59..00000000 --- a/mathml.js +++ /dev/null @@ -1,70 +0,0 @@ -/* -March 19, 2004 MathHTML (c) Peter Jipsen http://www.chapman.edu/~jipsen -Released under the GNU General Public License version 2 or later. -See the GNU General Public License (at http://www.gnu.org/copyleft/gpl.html) -for more details. -*/ - -function convertMath(node) {// for Gecko - if (node.nodeType==1) { - var newnode = - document.createElementNS("http://www.w3.org/1998/Math/MathML", - node.nodeName.toLowerCase()); - for(var i=0; i < node.attributes.length; i++) - newnode.setAttribute(node.attributes[i].nodeName, - node.attributes[i].nodeValue); - for (var i=0; i"); - document.write(""); -} -if(typeof window.addEventListener != 'undefined'){ - window.addEventListener('load', convert, false); -} -if(typeof window.attachEvent != 'undefined') { - window.attachEvent('onload', convert); -}