Revert "Add support for custom text type generation (#1683)" (#1684)

This reverts commit 39cabc4db6.
This commit is contained in:
toasted-nutbread 2021-05-16 19:52:08 -04:00 committed by GitHub
parent 39cabc4db6
commit 76c29134b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,8 +293,6 @@ class DisplayGenerator {
return this._createTermDefinitionEntryText(entry); return this._createTermDefinitionEntryText(entry);
} else if (typeof entry === 'object' && entry !== null) { } else if (typeof entry === 'object' && entry !== null) {
switch (entry.type) { switch (entry.type) {
case 'text':
return this._createTermDefinitionEntryText(entry.text);
case 'image': case 'image':
return this._createTermDefinitionEntryImage(entry, dictionary); return this._createTermDefinitionEntryImage(entry, dictionary);
} }