fix y-xml server environment

This commit is contained in:
Kevin Jahns
2017-11-14 20:43:30 -08:00
parent 3d6050d8a2
commit 41be80e751
4 changed files with 92 additions and 90 deletions

View File

@@ -153,7 +153,7 @@ export async function initArrays (t, opts) {
result['array' + i] = y.define('array', Y.Array)
result['map' + i] = y.define('map', Y.Map)
result['xml' + i] = y.define('xml', Y.XmlElement)
y.get('xml', Y.Xml).setDomFilter(function (d, attrs) {
y.get('xml').setDomFilter(function (d, attrs) {
if (d.nodeName === 'HIDDEN') {
return null
} else {