mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +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) {
|
$tw.utils.decodeTWURIList = function(s) {
|
||||||
return $tw.utils.decodeURIComponentSafe(
|
return $tw.utils.decodeURIComponentSafe(
|
||||||
s.split('&')
|
s.split('&')
|
||||||
.map(s => s.replaceAll('+', ' '))
|
.map(function(s) {return s.replaceAll('+', ' ')})
|
||||||
.map(s => s.includes(' ') ? '[[' + s + ']]' : s)
|
.map(function(s) {return s.includes(' ') ? '[[' + s + ']]' : s})
|
||||||
.join( ' ')
|
.join( ' ')
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user