aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-19 14:43:26 -0400
committerbob <bcz@cs.brown.edu>2019-07-19 14:43:26 -0400
commit89b2500e71e4d167c7ae179c3eb2b5052b128ad0 (patch)
tree8b243d52a47024b06d9941134d56c4e25f80d930 /src/client/DocServer.ts
parentae07ba8fb410752ea98702219247ce5f89d1758b (diff)
parent8854d3277541a67aef4187b5d3592bea5a7fcfa2 (diff)
Merge branch 'master' into stackingSections
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index 6737657c8..8c64d2b2f 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -47,14 +47,6 @@ export namespace DocServer {
Utils.AddServerHandler(_socket, MessageStore.DeleteField, respondToDelete);
Utils.AddServerHandler(_socket, MessageStore.DeleteFields, respondToDelete);
}
- /**
- * A convenience method. Prepends the full path (i.e. http://localhost:1050) to the
- * requested extension
- * @param extension the specified sub-path to append to the window origin
- */
- export function prepend(extension: string): string {
- return window.location.origin + extension;
- }
function errorFunc(): never {
throw new Error("Can't use DocServer without calling init first");