implemented tree-walker

This commit is contained in:
Kevin Jahns
2017-11-08 13:40:36 -08:00
parent 9b00929172
commit a08624c04e
11 changed files with 1008 additions and 10 deletions

View File

@@ -150,9 +150,9 @@ export async function initArrays (t, opts) {
connector: connOpts
})
result.users.push(y)
result['array' + i] = y.get('array', Y.Array)
result['map' + i] = y.get('map', Y.Map)
result['xml' + i] = y.get('xml', Y.XmlElement)
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) {
if (d.nodeName === 'HIDDEN') {
return null