From 85476d9915f23fc45e64b5242e804623f50cd20a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 31 Oct 2016 05:30:32 -0700 Subject: clean up mitmweb --- web/src/js/dispatcher.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 web/src/js/dispatcher.js (limited to 'web/src/js/dispatcher.js') 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 -- cgit v1.2.3