1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Tools: Added eslint rule arrow-parens

This commit is contained in:
Laurent Cozic
2020-05-20 17:16:43 +01:00
parent c34f762507
commit 0b6f5581f0
166 changed files with 446 additions and 445 deletions

View File

@ -24,11 +24,11 @@ class HtmlUtils {
output.push(matches[2]);
}
return output.filter(url => !!url);
return output.filter((url) => !!url);
}
replaceImageUrls(html, callback) {
return this.processImageTags(html, data => {
return this.processImageTags(html, (data) => {
const newSrc = callback(data.src);
return {
type: 'replaceSource',