scripts/wiki-lenny/static/additional/ie7/ie7-xml-extras.js
Antoine Durand-Gasselin cdfb2b41c2 [wiki-lenny] on établit une séparation entre les ressources statiques upstream et les plugins du crans
* Il faudra faire une solution plus propre, c'est juste pour commiter des
   changes

darcs-hash:20090306075901-bd074-45690e201de838132f1a94901b4a625a50f8a31d.gz
2009-03-06 08:59:01 +01:00

6 lines
720 B
JavaScript

/*
IE7, version 0.9 (alpha) (2005-08-19)
Copyright: 2004-2005, Dean Edwards (http://dean.edwards.name/)
License: http://creativecommons.org/licenses/LGPL/2.1/
*/
function XMLHttpRequest(){var l=(ScriptEngineMajorVersion()>=5)?"Msxml2":"Microsoft";return new ActiveXObject(l+".XMLHTTP")};function DOMParser(){};DOMParser.prototype={toString:function(){return"[object DOMParser]"},parseFromString:function(s,c){var x=new ActiveXObject("Microsoft.XMLDOM");x.loadXML(s);return x},parseFromStream:new Function,baseURI:""};function XMLSerializer(){};XMLSerializer.prototype={toString:function(){return"[object XMLSerializer]"},serializeToString:function(r){return r.xml||r.outerHTML},serializeToStream:new Function};