diff options
author | bob <bcz@cs.brown.edu> | 2019-07-10 16:53:21 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-10 16:53:21 -0400 |
commit | 63cb729640fb9c1a027c6c6008766f336dad2185 (patch) | |
tree | 952d857d00418bf9756f423920640d3c73a858de /src/client/DocServer.ts | |
parent | 4fb942ccc008f0952833b809be6301a5405bfe20 (diff) | |
parent | abb53ad8a5cbf2439aac420e9ec16a3a461dec1e (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r-- | src/client/DocServer.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts index 443f70bb1..97147f5e4 100644 --- a/src/client/DocServer.ts +++ b/src/client/DocServer.ts @@ -32,6 +32,8 @@ export namespace DocServer { // _cache = {}; } + export function isReadOnly() { return _isReadOnly; } + export function prepend(extension: string): string { return window.location.origin + extension; } |