From c1581aaf93467cce8fca8a3da71181d79b3bfef8 Mon Sep 17 00:00:00 2001
From: Tyler Schicke <tyler_schicke@brown.edu>
Date: Fri, 8 Feb 2019 00:23:27 -0500
Subject: a couple small changes

---
 src/Main.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/Main.tsx')

diff --git a/src/Main.tsx b/src/Main.tsx
index a9ed1a365..fa6230393 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -13,6 +13,7 @@ import "./Main.scss";
 import { ContextMenu } from './views/ContextMenu';
 import { DocumentView } from './views/nodes/DocumentView';
 import { CompileScript } from './util/Scripting';
+import { ImageField } from './fields/ImageField';
 
 
 configure({
@@ -46,6 +47,7 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) {
     let doc3 = Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", {
         x: 450, y: 500, title: "cat 1"
     });
+    doc3.Set(KeyStore.Data, new ImageField);
     const schemaDocs = Array.from(Array(5).keys()).map(v => Documents.ImageDocument("https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg", {
         x: 50 + 100 * v, y: 50, width: 100, height: 100, title: "cat" + v
     }));
-- 
cgit v1.2.3-70-g09d2

