RCO: expand page search (#8541)
Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
This commit is contained in:
parent
b6ab8fb843
commit
ad829436f1
@ -29,19 +29,28 @@
|
|||||||
|
|
||||||
arrays.forEach(arrayValue => {
|
arrays.forEach(arrayValue => {
|
||||||
functions.forEach(funcValue => {
|
functions.forEach(funcValue => {
|
||||||
try {
|
const argCount = funcValue.length;
|
||||||
const mapped = arrayValue.map(x => funcValue(x));
|
|
||||||
|
|
||||||
if (
|
for (let i = 0; i < argCount; i++) {
|
||||||
Array.isArray(mapped) &&
|
try {
|
||||||
mapped.length != 0 &&
|
const mapped = arrayValue.map(elem => {
|
||||||
mapped.every(item => typeof item === 'string' && isValidUrl(item))
|
const args = new Array(argCount).fill(undefined);
|
||||||
) {
|
args[i] = elem;
|
||||||
results.push(mapped);
|
return funcValue(...args);
|
||||||
}
|
});
|
||||||
} catch (err) {}
|
|
||||||
|
if (
|
||||||
|
Array.isArray(mapped) &&
|
||||||
|
mapped.length !== 0 &&
|
||||||
|
mapped.every(item => typeof item === 'string' && isValidUrl(item))
|
||||||
|
) {
|
||||||
|
results.push(mapped);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} catch (err) {}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
return results
|
return results;
|
||||||
})();
|
})();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'ReadComicOnline'
|
extName = 'ReadComicOnline'
|
||||||
extClass = '.Readcomiconline'
|
extClass = '.Readcomiconline'
|
||||||
extVersionCode = 33
|
extVersionCode = 34
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user