Feat: dirty hack to enable send + sync on virtual dom
This commit is contained in:
1 parent
fe67ff9fa4
commit
4d5c528b07
6 files changed
+36
-43
No files matched your search
@@ -272,6 +272,8 @@
|
||||
const template = interp.getTemplate(id);
|
||||
interp.stack.push(template.cloneNode(true));
|
||||
}
|
||||
|
||||
NewListener(edit, interp) {}
|
||||
}
|
||||
|
||||
const op_table = new OPTABLE();
|
||||
@@ -284,7 +286,13 @@
|
||||
});
|
||||
}
|
||||
|
||||
external.invoke("initiate");
|
||||
let socket = new WebSocket("ws://127.0.0.1:8080/session/itsworkinggg");
|
||||
socket.onmessage = function(event) {
|
||||
console.log(event.data);
|
||||
EditListReceived(event.data);
|
||||
}
|
||||
// external.invoke("initiate");
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user