diff options
author | Monika Hedman <monika_hedman@brown.edu> | 2019-03-02 17:54:48 -0500 |
---|---|---|
committer | Monika Hedman <monika_hedman@brown.edu> | 2019-03-02 17:54:48 -0500 |
commit | 5eb603dbe3d436c5d15d8bcf571aa2f55d16d79b (patch) | |
tree | 57f869b36eca6e340540f3ca80d6743e377e7043 /src/client/views/Main.tsx | |
parent | 60f2458ca0faaa8bc5f5d333034cea5fdd513bf6 (diff) | |
parent | 043f40fec06da86732aeb6534d50edc56d4b8fad (diff) |
tree updates
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r-- | src/client/views/Main.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index ce23d9ffb..c842e7fe3 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -32,7 +32,6 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) { const mainDocId = "mainDoc"; let mainContainer: Document; let mainfreeform: Document; -console.log("HELLO WORLD") Documents.initProtos(mainDocId, (res?: Document) => { if (res instanceof Document) { mainContainer = res; @@ -60,7 +59,9 @@ Documents.initProtos(mainDocId, (res?: Document) => { let addImageNode = action(() => Documents.ImageDocument(imgurl, { width: 200, height: 200, title: "an image of a cat" })); let addWebNode = action(() => Documents.WebDocument(weburl, { width: 200, height: 200, title: "a sample web page" })); - let addClick = (creator: () => Document) => action(() => mainfreeform.GetList<Document>(KeyStore.Data, []).push(creator())); + let addClick = (creator: () => Document) => action(() => + mainfreeform.GetList<Document>(KeyStore.Data, []).push(creator()) + ); let imgRef = React.createRef<HTMLDivElement>(); let webRef = React.createRef<HTMLDivElement>(); |