##// END OF EJS Templates
hgweb: add docFromHTML javascript function...
Alexander Plavin -
r19741:2a9a21e1 default
parent child Browse files
Show More
@@ -328,3 +328,9 function makeRequest(url, method, onstar
328 onstart();
328 onstart();
329 return xfr;
329 return xfr;
330 }
330 }
331
332 function docFromHTML(html) {
333 var doc = document.implementation.createHTMLDocument('');
334 doc.documentElement.innerHTML = html;
335 return doc;
336 }
General Comments 0
You need to be logged in to leave comments. Login now