Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/utils.js

Issue 29867603: Issue 6897 - Remove unused Utils.generateChecksum() (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Aug. 28, 2018, 3:03 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utils.js
===================================================================
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -51,21 +51,16 @@
direction = /^(?:ar|fa|he|ug|ur)\b/.test(this.appLocale) ? "rtl" : "ltr";
Object.defineProperty(
this,
"readingDirection",
{value: direction, enumerable: true}
);
return this.readingDirection;
},
- generateChecksum(lines)
- {
- // We cannot calculate MD5 checksums yet :-(
- return null;
- },
getDocLink(linkID)
{
let docLink = require("./prefs").Prefs.documentation_link;
return docLink.replace(/%LINK%/g, linkID)
.replace(/%LANG%/g, Utils.appLocale);
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld