Add experimental infinite scroll

This commit is contained in:
Zed
2020-01-07 03:00:16 +01:00
parent 2e97c1c98f
commit 2c6d2897ae
6 changed files with 82 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ proc cleanFilename*(filename: string): string =
result &= ".png"
proc filterParams*(params: Table): seq[(string, string)] =
let filter = ["name", "id", "list", "referer"]
let filter = ["name", "id", "list", "referer", "scroll"]
toSeq(params.pairs()).filterIt(it[0] notin filter and it[1].len > 0)
proc isTwitterUrl*(url: string): bool =