Verified Commit 449bf8c0 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Remove unused code segments

parent 861ba95d
......@@ -24,8 +24,7 @@ const Address = {
'EXAMPLE': 'example.org',
'HTTP': 'http:',
'HTTPS': 'https:',
'WWW_PREFIX': 'www.',
'WWW_PREFIX_LENGTH': 4
'WWW_PREFIX': 'www.'
};
const Resource = {
......
......@@ -126,17 +126,6 @@ requestAnalyzer._applyWhitelistedDomains = function () {
});
};
requestAnalyzer._normalizeDomain = function (domain) {
domain = domain.toLowerCase().trim();
if (domain.startsWith(Address.WWW_PREFIX)) {
domain = domain.slice(Address.WWW_PREFIX_LENGTH);
}
return domain;
};
/**
* Initializations
*/
......
Supports Markdown
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