1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 01:12:03 +00:00

add notification (#2353)

This commit is contained in:
C_Q
2018-09-10 18:24:49 +08:00
committed by Daniel Pan
parent 5222c49b29
commit dcf35018c1
5 changed files with 26 additions and 11 deletions

View File

@@ -1,3 +1,5 @@
let slug, repoID, serviceUrl, initialFilePath;
export const dirPath = '/';
export const gettext = window.gettext;
@@ -9,7 +11,11 @@ export const siteTitle = window.app.config.siteTitle;
export const logoWidth = window.app.config.logoWidth;
export const logoHeight = window.app.config.logoHeight;
export const slug = window.wiki.config.slug;
export const repoID = window.wiki.config.repoId;
export const serviceUrl = window.wiki.config.serviceUrl;
export const initialFilePath = window.wiki.config.initial_file_path;
if (window.wiki) {
slug = window.wiki.config.slug;
repoID = window.wiki.config.repoId;
serviceUrl = window.wiki.config.serviceUrl;
initialFilePath = window.wiki.config.initial_file_path;
}
export { slug, repoID, serviceUrl, initialFilePath }