ajacksified / ajacksified/Mediator.js

Is it normal that this.stopped = false appears at the end of publish and not the start?

Ouverte
#27 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
460
Forks
75
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.