diff options
author | ab <abdullah_ahmed@brown.edu> | 2019-02-09 17:28:27 -0500 |
---|---|---|
committer | ab <abdullah_ahmed@brown.edu> | 2019-02-09 17:28:27 -0500 |
commit | 1eb3d60457d4fc0ae957832c3ab751b54a24cc21 (patch) | |
tree | c027231dfa734dc584735ef5d80e08b0f506b766 /src/Main.tsx | |
parent | 5722979894b53805639407f856cea78a56d725f3 (diff) |
database
Diffstat (limited to 'src/Main.tsx')
-rw-r--r-- | src/Main.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |