Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a05bafe

Browse files
committed
Remove sarcastic comments
... apparently I wrote them, and I don't understand them. There is *supposed* to be a global flux dispatcher. This reverts commit c0de087.
1 parent 8840625 commit a05bafe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/dispatcher.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class MatrixDispatcher extends flux.Dispatcher {
4141
}
4242
}
4343

44-
// XXX this is a big anti-pattern, and makes testing hard. Because dispatches
45-
// happen asynchronously, it is possible for actions dispatched in one thread
46-
// to arrive in another, with *hilarious* consequences.
4744
if (global.mxDispatcher === undefined) {
4845
global.mxDispatcher = new MatrixDispatcher();
4946
}

0 commit comments

Comments
 (0)