Mercurial > hg > webaudioevaluationtool
changeset 2620:13a0b65143a6
Merge branch 'master' into vnext
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Sun, 20 Nov 2016 10:14:36 +0000 |
parents | 74e5d7a978ee (current diff) 15b42e98b06c (diff) |
children | 702b5944f782 |
files | js/specification.js test_create/test_core.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/js/specification.js Thu Nov 17 13:08:26 2016 +0000 +++ b/js/specification.js Sun Nov 20 10:14:36 2016 +0000 @@ -453,7 +453,7 @@ this.encode = function (doc) { var node = doc.createElement("interface"); - if (typeof name == "string") + if (typeof name == "string" && name.length > 0) node.setAttribute("name", this.name); if (typeof this.title == "string") { var titleNode = doc.createElement("title");