aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/dispatcher.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-10-31 05:30:32 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-11-08 17:54:27 +0100
commit85476d9915f23fc45e64b5242e804623f50cd20a (patch)
tree9fdca1d74c1bcf3f9dafc26cd4d2786c3ae8b81e /web/src/js/dispatcher.js
parent62ca89649237cb0aff63b1fd3d7729b42134bdd1 (diff)
downloadmitmproxy-85476d9915f23fc45e64b5242e804623f50cd20a.tar.gz
mitmproxy-85476d9915f23fc45e64b5242e804623f50cd20a.tar.bz2
mitmproxy-85476d9915f23fc45e64b5242e804623f50cd20a.zip
clean up mitmweb
Diffstat (limited to 'web/src/js/dispatcher.js')
-rw-r--r--web/src/js/dispatcher.js18
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