From 599f5aeec80e8bc98e6dd17f66ac282dac0950e0 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 30 May 2016 10:18:08 +0200 Subject: [PATCH] add sample listeners for debugging --- www/json/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/json/main.js b/www/json/main.js index 28865d852..15b651b0b 100644 --- a/www/json/main.js +++ b/www/json/main.js @@ -63,4 +63,8 @@ define([ $repl.val(''); } }); + + // debugging TODO remove + //rt.proxy.on('change', 'u', (o, n) => console.log("'u' changed!", o,n)); + //rt.proxy.on('change', ['u', 2], (o, n) => (console.log("'u[2]' changed!", o, n), true)); });