From 0c5c5f2a5f60b1f9d9fe2d841d39d357149bbb49 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 2 Oct 2023 19:17:00 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index d22099b..4efa76c 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -54,6 +54,17 @@ var Node = { load: function(){}, } +var NodeGroup = { + __proto__: Node, +} + +// XXX should this be Page or root?? +var Root = { + __proto__: NodeGroup, +} + + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // XXX might be a good idea to do a view-action model... var Outline = {