diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-13 17:26:02 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-13 17:26:02 -0700 |
commit | 4d4b819d6c197df6e0f91ba170d0ee909dfcb5c9 (patch) | |
tree | cb6446be836483d1f961ead28c06c932de444261 /ext/bg/js/dictionary.js | |
parent | 13961e6a10554fdc43c5b1b66f28ea72d2fc21b6 (diff) |
tag caching
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index e749390f..1cd1a846 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -148,16 +148,6 @@ function dictTagBuildSource(name) { return dictTagSanitize({name, category: 'dictionary', order: 100}); } -function dictTagBuild(name, meta) { - const tag = {name}; - const symbol = name.split(':')[0]; - for (const prop in meta[symbol] || {}) { - tag[prop] = meta[symbol][prop]; - } - - return dictTagSanitize(tag); -} - function dictTagSanitize(tag) { tag.name = tag.name || 'untitled'; tag.category = tag.category || 'default'; |