diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-10 15:40:40 -0500 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-10 15:40:40 -0500 |
| commit | 55aeb2f80dd48e758fcf6b957233d4949c4b063e (patch) | |
| tree | 1f9910700e21a1594ed65dfed2a05cb704c4eff4 /src/client/documents | |
| parent | 89b7b2ae27cbab6a7edd5fa3759949afe2cd2f71 (diff) | |
| parent | 11b6bd8eca19b36fdd28f71a7fc4043134983c5e (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/documents')
| -rw-r--r-- | src/client/documents/DocumentTypes.ts | 1 | ||||
| -rw-r--r-- | src/client/documents/Documents.ts | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/client/documents/DocumentTypes.ts b/src/client/documents/DocumentTypes.ts index 58b120e7d..851e78336 100644 --- a/src/client/documents/DocumentTypes.ts +++ b/src/client/documents/DocumentTypes.ts @@ -33,7 +33,6 @@ export enum DocumentType { PRESELEMENT = "preselement",// presentation item (view of a document in a collection) COLOR = "color", // color picker (view of a color picker for a color string) YOUTUBE = "youtube", // youtube directory (view of you tube search results) - DOCHOLDER = "docholder", // nested document (view of a document) SEARCHITEM = "searchitem", COMPARISON = "comparison", // before/after view with slider (view of 2 images) GROUP = "group", // group of users diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 357b82cd6..1726c42d3 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -833,10 +833,6 @@ export namespace Docs { return InstanceFromProto(Prototypes.get(DocumentType.KVP), document, { _fitWidth: true, title: document.title + ".kvp", ...options }); } - export function DocumentDocument(document?: Doc, options: DocumentOptions = {}) { - return InstanceFromProto(Prototypes.get(DocumentType.DOCHOLDER), document, { title: document ? document.title + "" : "container", targetDropAction: "move", ...options }); - } - export function TextanchorDocument(options: DocumentOptions = {}, id?: string) { return InstanceFromProto(Prototypes.get(DocumentType.TEXTANCHOR), undefined, { targetDropAction: "move", ...options }, id); } |
