Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_editModeChanged(newValue, oldValue) {
if (typeof oldValue !== typeof undefined) {
// ensure global is kept in sync
store.editMode = newValue;
this.__styleReapply();
}
}
/**
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
// logged in so we can visualize things differently as needed
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
autorun(reaction => {
this.__disposer3 = autorun(() => {
this.editMode = toJS(store.editMode);
});
}
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
}
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
autorun(reaction => {
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
}
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
autorun(reaction => {
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
}
autorun(reaction => {
this.editMode = toJS(store.editMode);
this.__disposer.push(reaction);
});
}