ajacksified / ajacksified/Mediator.js

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

オープン
#27 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
460
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。