JSON-Patch icon indicating copy to clipboard operation
JSON-Patch copied to clipboard

Support multiple callbacks

Open jamesplease opened this issue 10 years ago • 1 comments

var x = {};

jsonpatch.observe(x, function() {
  console.log('One');
});
jsonpatch.observe(x, function() {
  console.log('Two');
});

x.someValue = true;

It should execute both functions.

jamesplease avatar Jun 20 '14 16:06 jamesplease

+1 @warpech Any updates on this?

gaurav21r avatar Dec 28 '15 05:12 gaurav21r