add videos, update dedup and lazy load image
This commit is contained in:
1 parent
bdc54b676b
commit
4244665934
5 files changed
+2468
-2
No files matched your search
+1
-1
@@ -151,7 +151,7 @@ async function groupImages(lines, baseDir, threshold, stats) {
|
||||
while (j < lines.length) {
|
||||
/** @type {TextNode[]} */
|
||||
const blanks = [];
|
||||
while (j < lines.length && isBlank(lines[j])) {
|
||||
while (j < lines.length && lines[j].type === "text") {
|
||||
// isBlank already guarantees type === "text"
|
||||
blanks.push(/** @type {TextNode} */ (lines[j]));
|
||||
j++;
|
||||
|
||||
Reference in new issue
Block a user