aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-08 12:58:33 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-08 12:58:33 -0500
commit5bb3f6988fc456e1dbac5825cc76e051c3a9c155 (patch)
tree344707d78e12045761c4933cb238f2a843cf6733 /src/client/documents/Documents.ts
parent55c382979c8313a35aa2f3f86d37f4b39bb9591f (diff)
parent36933b7b647a54aa7bda0600612d34b402d42919 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 64dc0d8b7..d647b34e6 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -53,6 +53,7 @@ import { InkingStroke } from "../views/InkingStroke";
import { InkField } from "../../new_fields/InkField";
import { InkingControl } from "../views/InkingControl";
import { RichTextField } from "../../new_fields/RichTextField";
+import { Networking } from "../Network";
const requestImageSize = require('../util/request-image-size');
const path = require('path');
@@ -340,6 +341,12 @@ export namespace Docs {
*/
export namespace Create {
+ export async function Buxton() {
+ console.log(await Networking.FetchFromServer("/newBuxton"));
+ }
+
+ Scripting.addGlobal(Buxton);
+
const delegateKeys = ["x", "y", "layoutKey", "_width", "_height", "_panX", "_panY", "_viewType", "_nativeWidth", "_nativeHeight", "dropAction", "_annotationOn",
"_chromeStatus", "_forceActive", "_autoHeight", "_fitWidth", "_LODdisable", "_itemIndex", "_showSidebar", "showTitle"];