gemfedwiki

gemini fedwiki proxy
git clone git://jb55.com/gemfedwiki
Log | Files | Refs | README

commit 3ac90a6163ca1a2fe6e2548b4b53421aa9e06223
parent 984e9e538bdcb189cf0b03ea26d7f38aaf4bb140
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 28 Oct 2021 14:39:43 -0700

remove another unused function

Diffstat:
Mindex.js | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/index.js b/index.js @@ -16,15 +16,6 @@ function consume_until(cursor, c) return false } -function consume_while(cursor, fn) -{ - for (; cursor.pos < cursor.str.length; cursor.pos++) { - if (fn(cursor.str[cursor.pos])) continue - return true - } - return false -} - function pull_char(cursor) { if (cursor.pos >= cursor.str.length)