Mercurial > hg > webaudioevaluationtool
changeset 2397:c970a531228c
Merge commit '738f6633f87e048b05e91e37caeab9fe686f4e91'
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 26 May 2016 15:02:11 +0100 |
parents | e7844a500060 (diff) dc13bd68ea34 (current diff) |
children | a51a6d810bf4 5d7ad658c699 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/js/specification.js Thu May 26 09:35:07 2016 +0100 +++ b/js/specification.js Thu May 26 15:02:11 2016 +0100 @@ -163,7 +163,7 @@ this.encode = function() { var RootDocument = document.implementation.createDocument(null,"waet"); - var root = RootDocument.children[0]; + var root = RootDocument.firstChild; root.setAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"); root.setAttribute("xsi:noNamespaceSchemaLocation","test-schema.xsd"); // Build setup node