mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 15:44:45 -04:00
Add slide mode with reveal.js
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
29565f8f89
commit
36e445e631
70 changed files with 1225 additions and 323 deletions
|
@ -11,3 +11,12 @@ export const isTestMode = (): boolean => {
|
|||
export const isMockMode = (): boolean => {
|
||||
return process.env.REACT_APP_BACKEND_BASE_URL === undefined
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the current runtime was built in development mode.
|
||||
*
|
||||
* @return {@code true} if the runtime was built in development mode.
|
||||
*/
|
||||
export const isDevMode = (): boolean => {
|
||||
return process.env.NODE_ENV === 'development'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue