1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Remove "const" accidentally included in #7290

See #7350
This commit is contained in:
jeremy@jermolene.com 2023-03-10 12:32:52 +00:00
parent 589813f233
commit f247686970

View File

@ -107,7 +107,7 @@ function diffPartsToChars(text1,text2,mode) {
var lineEnd = -1;
var lineArrayLength = lineArray.length,
regexpResult;
const searchRegexp = /\W+/g;
var searchRegexp = /\W+/g;
while(lineEnd < text.length - 1) {
if(mode === "words") {
regexpResult = searchRegexp.exec(text);