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

Unified Diff: lib/matcher.js

Issue 29768682: Noissue - Update JSDoc @type for Matcher.filterByKeyword (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created May 2, 2018, 8:55 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/matcher.js
===================================================================
--- a/lib/matcher.js
+++ b/lib/matcher.js
@@ -32,17 +32,17 @@
{
this.clear();
}
exports.Matcher = Matcher;
Matcher.prototype = {
/**
* Lookup table for filters by their associated keyword
- * @type {Map.<string,Filter>}
+ * @type {Map.<string,(Filter|Filter[])>}
Manish Jethani 2018/05/02 21:03:54 This can be a filter or an array of filters. I was
*/
filterByKeyword: null,
/**
* Lookup table for keywords by the filter
* @type {Map.<Filter,string>}
*/
keywordByFilter: null,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld