From 7ef0f4e8818e58f4623da48ca63d76f501e13376 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 19 Apr 2016 22:04:55 -0700 Subject: Handle intermediate tags through addons --- ext/bg/js/deinflector.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/bg/js/deinflector.js') diff --git a/ext/bg/js/deinflector.js b/ext/bg/js/deinflector.js index 3c24ae3a..ec43f037 100644 --- a/ext/bg/js/deinflector.js +++ b/ext/bg/js/deinflector.js @@ -52,6 +52,10 @@ class Deinflection { for (const v of variants) { let allowed = this.tags.length === 0; for (const tag of this.tags) { + // + // TODO: Handle addons through tags.json or rules.json + // + if (v.tagsIn.indexOf(tag) !== -1) { allowed = true; break; -- cgit v1.2.3