You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`<a href="${imgRef.url}"><img src="${imgRef.url}" width="${imgRef.width}" height="${imgRef.height}" alt="${escapeAttribute(alt)||"oh my god twitter doesn’t include alt text from images in their API"}" class="tweet-media u-featured" onerror="fallbackMedia(this)" loading="lazy" decoding="async"></a>`;
}
it appears to be used only within this class. Therefore I suggest to declare it as a private method (by prefixing it with an underscore or using private class feature).
The text was updated successfully, but these errors were encountered:
Looking at
tweetback/src/twitter.js
Lines 153 to 158 in d03e289
it appears to be used only within this class. Therefore I suggest to declare it as a private method (by prefixing it with an underscore or using private class feature).
The text was updated successfully, but these errors were encountered: