JS -- Send events to the sandbox from annotation layer

This commit is contained in:
Calixte Denizet 2020-11-18 14:59:57 +01:00
parent 640a08444c
commit 6502ae889d
11 changed files with 647 additions and 113 deletions

View file

@ -54,7 +54,7 @@ class ProxyHandler {
obj[prop] = value;
if (obj._send && obj._id !== null && typeof old !== "function") {
const data = { id: obj._id };
data[prop] = value;
data[prop] = obj[prop];
// send the updated value to the other side
obj._send(data);