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

@@ -10,7 +10,7 @@ var y = new Y({
window.yChat = y
let chatprotocol = y.get('chatprotocol', Y.Array)
let chatprotocol = y.define('chatprotocol', Y.Array)
let chatcontainer = document.querySelector('#chat')

View File

@@ -10,7 +10,7 @@ let y = new Y({
}
})
window.yXml = y
window.yXmlType = y.get('xml', Y.XmlFragment)
window.yXmlType = y.define('xml', Y.XmlFragment)
window.onload = function () {
console.log('start!')
// Bind children of XmlFragment to the document.body