diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-10 15:58:04 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-10 15:58:04 -0400 |
commit | abb53ad8a5cbf2439aac420e9ec16a3a461dec1e (patch) | |
tree | 648cf2323a1c766d0dbfa007abcaed147be79fa3 /src/client/DocServer.ts | |
parent | 5615c1cb2fc62b89901a419c39d8a02754ff1d69 (diff) |
Added color for ReadOnly mode
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; } |