From 1eb3d60457d4fc0ae957832c3ab751b54a24cc21 Mon Sep 17 00:00:00 2001 From: ab Date: Sat, 9 Feb 2019 17:28:27 -0500 Subject: database --- src/Main.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Main.tsx') diff --git a/src/Main.tsx b/src/Main.tsx index fa6230393..eee8554f3 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -14,6 +14,7 @@ import { ContextMenu } from './views/ContextMenu'; import { DocumentView } from './views/nodes/DocumentView'; import { CompileScript } from './util/Scripting'; import { ImageField } from './fields/ImageField'; +import { database } from './database'; configure({ @@ -40,6 +41,8 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) { //runInAction(() => { + let db = new database(); + db.update('1', '2', '3'); let doc1 = Documents.TextDocument({ title: "hello" }); let doc2 = doc1.MakeDelegate(); doc2.Set(KS.X, new NumberField(150)); -- cgit v1.2.3-70-g09d2