From 7956bbffef731a979fad14d86042292aac35a6dc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 12 Jan 2017 13:20:48 +1100 Subject: coverpage: Remove used function. --- common/coverpage/static/rtems/js/catalogue.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'common') diff --git a/common/coverpage/static/rtems/js/catalogue.js b/common/coverpage/static/rtems/js/catalogue.js index 9a6a221..da18aaa 100644 --- a/common/coverpage/static/rtems/js/catalogue.js +++ b/common/coverpage/static/rtems/js/catalogue.js @@ -4,21 +4,6 @@ * Licensed under the MIT license */ -function parseCatalogue(xml) { - if (window.DOMParser) - { - parser = new DOMParser(); - xmlDoc = parser.parseFromString(xml, "text/xml"); - } - else // Internet Explorer - { - xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); - xmlDoc.async = false; - xmlDoc.loadXML(xml); - } - return xmlDoc; -} - function catalogueHeader(id, title, date) { return '' + '
' + -- cgit v1.2.3