Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Clean up unused constants and variables

parent 576ca7f6
......@@ -26,9 +26,7 @@ var stateManager = {};
const BLOCKING_ACTION = 'blocking';
const HOST_PREFIX = '*://';
const HOST_SUFFIX = '/*';
const JAVASCRIPT_REQUEST_TYPE = 'script';
const REQUEST_HEADERS = 'requestHeaders';
const XML_HTTP_REQUEST_TYPE = 'xmlhttprequest';
/**
* Public Methods
......@@ -163,13 +161,6 @@ stateManager._updateTab = function (details) {
stateManager.requests = {};
stateManager.tabs = {};
stateManager.validTypes = [
JAVASCRIPT_REQUEST_TYPE,
XML_HTTP_REQUEST_TYPE
];
stateManager.validHosts = [];
for (let mapping in mappings) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment