mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Fix lint warnings by removing arrow functions
This commit is contained in:
parent
6bcad4f1a4
commit
3dd9abb8ad
@ -295,8 +295,8 @@ for `+`) to a string
|
||||
$tw.utils.decodeTWURIList = function(s) {
|
||||
return $tw.utils.decodeURIComponentSafe(
|
||||
s.split('&')
|
||||
.map(s => s.replaceAll('+', ' '))
|
||||
.map(s => s.includes(' ') ? '[[' + s + ']]' : s)
|
||||
.map(function(s) {return s.replaceAll('+', ' ')})
|
||||
.map(function(s) {return s.includes(' ') ? '[[' + s + ']]' : s})
|
||||
.join( ' ')
|
||||
)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user