Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

ObjectObserver does not report observed object onChange event #129

Open
dmiorandi opened this issue Apr 11, 2016 · 0 comments
Open

ObjectObserver does not report observed object onChange event #129

dmiorandi opened this issue Apr 11, 2016 · 0 comments

Comments

@dmiorandi
Copy link

Take a look at this

var objObs=new ObjectObserver(obj);
objObs.open((added, removed, changed, getOldValueFn) => {
    console.log('WHERE IS MONITORED OBJECT REFERENCE???');
});

On the stack i can see
callback(records)==>
createObject.check_(changeRecords, skipChanges)==>
myanonymous callback function here==>

on createObject.check_ object information were losed. It should be propagated untill custom callback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant