Mercurial > hg > webaudioevaluationtool
changeset 2389:e7844a500060
Hotfix for #21 / #70
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 26 May 2016 15:01:37 +0100 |
parents | 5b755f508e2e |
children | c970a531228c |
files | js/specification.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/js/specification.js Fri May 20 20:18:49 2016 +0200 +++ b/js/specification.js Thu May 26 15:01:37 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