aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-08 21:20:45 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-08 21:20:45 -0400
commit9bb6366fe72661e933c58ac1f639f00e5f2913e2 (patch)
treeaa0b7f2a087d134ab44118dc809825cdd5241494 /src/client/documents/Documents.ts
parent051aefd6455ccda271377913a486e923aef40efd (diff)
fixes
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 08aa31db2..b99abc07b 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -547,10 +547,6 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.RTF), text, options, undefined, "text");
}
- export function ScriptDocument(options: DocumentOptions = {}) {
- return InstanceFromProto(Prototypes.get(DocumentType.SCRIPT), undefined, options);
- }
-
export function LinkDocument(source: { doc: Doc, ctx?: Doc }, target: { doc: Doc, ctx?: Doc }, options: DocumentOptions = {}, id?: string) {
const doc = InstanceFromProto(Prototypes.get(DocumentType.LINK), undefined, { isLinkButton: true, treeViewHideTitle: true, treeViewOpen: false, removeDropProperties: new List(["isBackground", "isLinkButton"]), ...options });
const linkDocProto = Doc.GetProto(doc);