From a6a4882fb7f95559d31451f4a6ba27a2a03fd991 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 9 Dec 2023 01:48:56 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index c2de6ad..86b6289 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -230,6 +230,7 @@ var offsetAt = function(A, B, i){ // o = offsetMap(m, t) // // this should reproduce common sections... // console.log('---', o.map(function(e, i){ return m[i+e] }).join('')) +// XXX can we cheat here??? var offsetMap = function(A, B, m=[]){ var o = 0 var p = 0