Mediator.js
Mediator.js copied to clipboard
Is it normal that this.stopped = false appears at the end of publish and not the start?
Let's say we have a call to
channel.publish('something', true);
And we want to know just after we want to know if the propagation has been stopped, is that normal that
this.stopped = false;
appears at the end of the publish method, instead of at the top of it? (as initialization?)