MDL-78428 tiny_media: Fix JSDoc

This commit is contained in:
Huong Nguyen
2025-03-24 14:17:35 +07:00
parent cda7e8e8be
commit ef0d08b8da
4 changed files with 3 additions and 4 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -170,7 +170,7 @@ export const stopMediaLoading = (root, selector) => {
* Return true or false if the url is external.
*
* @param {string} url
* @returns
* @returns {boolean} True if the URL is external, otherwise false.
*/
export const isExternalUrl = (url) => {
const regex = new RegExp(`${Config.wwwroot}`);
@@ -83,7 +83,6 @@ export class MediaBase {
* It is put here so image.js and/or friends can extend this class and call this for media proportion.
*
* @param {boolean} forceHeight Whether set by height or not
* @returns
*/
autoAdjustSize = (forceHeight = false) => {
// If we do not know the media size, do not do anything.