Mercurial > hg > webaudioevaluationtool
diff test_create/test_core.js @ 2960:5705787531a3
Fixed #257
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 22 Nov 2017 10:08:12 +0000 |
parents | 325940450125 |
children | 1593792ae742 |
line wrap: on
line diff
--- a/test_create/test_core.js Tue Nov 21 15:26:50 2017 +0000 +++ b/test_create/test_core.js Wed Nov 22 10:08:12 2017 +0000 @@ -114,7 +114,7 @@ $s.exportXML = function () { var s = new XMLSerializer(); - var doc = specification.encode(); + var doc = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" + specification.encode(); var xmlstr = s.serializeToString(doc); var bb = new Blob([s.serializeToString(doc)], { type: 'application/xml' @@ -211,9 +211,9 @@ } }; $s.select = function (name) { - $s.selected = name; - } - // Get the test interface specifications + $s.selected = name; + } + // Get the test interface specifications $s.file = undefined; $s.description = "";