diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-11-09 15:19:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-09 15:19:14 +0100 |
commit | f0783a087498a860905f846acca94ac418a5d6be (patch) | |
tree | 12f7bb66bfa87ad53af3d5821ea38ae0e27a0ea9 /web/src/js/dispatcher.js | |
parent | 564e56c26275698d3eb59bb3f97240bb0ba499e5 (diff) | |
parent | 77f05178ad23a8bb1f2cc43e1cdcf0593acd43d2 (diff) | |
download | mitmproxy-f0783a087498a860905f846acca94ac418a5d6be.tar.gz mitmproxy-f0783a087498a860905f846acca94ac418a5d6be.tar.bz2 mitmproxy-f0783a087498a860905f846acca94ac418a5d6be.zip |
Merge pull request #1725 from mhils/mitmweb
Mitmweb Improvements
Diffstat (limited to 'web/src/js/dispatcher.js')
-rw-r--r-- | web/src/js/dispatcher.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/web/src/js/dispatcher.js b/web/src/js/dispatcher.js deleted file mode 100644 index b4e22ed9..00000000 --- a/web/src/js/dispatcher.js +++ /dev/null @@ -1,18 +0,0 @@ - -import flux from "flux"; - -const PayloadSources = { - VIEW: "view", - SERVER: "server" -}; - - -export var AppDispatcher = new flux.Dispatcher(); -AppDispatcher.dispatchViewAction = function (action) { - action.source = PayloadSources.VIEW; - this.dispatch(action); -}; -AppDispatcher.dispatchServerAction = function (action) { - action.source = PayloadSources.SERVER; - this.dispatch(action); -};
\ No newline at end of file |