aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/utils
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-05-19 02:39:47 +0300
committerGravatar Vitaly Takmazov2023-05-19 02:54:34 +0300
commit71acbc9791ad42f99757feb9ed03e208fd09aa70 (patch)
tree02be8ff9af14bcc3592c442c95fe1596391856f6 /vnext/src/utils
parent56c7241c2ff3e62b2f6f8064f985181f4387dd3d (diff)
Fix linter warnings
Diffstat (limited to 'vnext/src/utils')
-rw-r--r--vnext/src/utils/embed.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js
index 8fde80d0..f16342cf 100644
--- a/vnext/src/utils/embed.js
+++ b/vnext/src/utils/embed.js
@@ -119,7 +119,6 @@ function messageReplyReplace(messageId) {
/**
* Given "txt" message in unescaped plaintext with Juick markup, this function
* returns escaped formatted HTML string.
- *
* @param {string} txt text message
* @param {string} messageId current message id
* @param {boolean} isCode set when message contains *code tag
@@ -169,7 +168,6 @@ function juickFormat(txt, messageId, isCode) {
/**
* Get supported embeddable formats
- *
* @returns {LinkFormatData[]} list of supported formats
*/
function getEmbeddableLinkTypes() {
@@ -315,7 +313,6 @@ function getEmbeddableLinkTypes() {
/**
* Embed a link
- *
* @param { HTMLAnchorElement } aNode a DOM node of the link
* @param { LinkFormatData[] } linkTypes supported link types
* @param { HTMLElement } container a target DOM element with the link content
@@ -362,7 +359,6 @@ function embedLinks(aNodes, container) {
* All the embedded media is placed inside "div.embedContainer".
* "div.embedContainer" is inserted before an element matched by "beforeNodeSelector"
* if not present. Existing container is used otherwise.
- *
* @param {Element} x
* @param {string} beforeNodeSelector
* @param {string} allLinksSelector
@@ -397,7 +393,6 @@ export function embedAll() {
}
/**
* Embed URLs to container
- *
* @param {NodeListOf<Element>} urls
* @param {HTMLDivElement} embedContainer
*/