MDL-78428 tiny_media: Fix JSDoc
This commit is contained in:
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.
|
||||
|
||||
Reference in New Issue
Block a user