Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
c82aacfb
Commit
c82aacfb
authored
Jul 08, 2017
by
NGPixel
Committed by
Nicolas Giard
Jul 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Safari js workaround
parent
8ad17daa
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
fuse.js
fuse.js
+3
-3
login.pug
server/views/auth/login.pug
+1
-1
index.pug
server/views/configure/index.pug
+1
-1
error-forbidden.pug
server/views/error-forbidden.pug
+1
-1
error-notexist.pug
server/views/error-notexist.pug
+1
-1
error.pug
server/views/error.pug
+1
-1
layout.pug
server/views/layout.pug
+1
-1
_layout.pug
server/views/pages/admin/_layout.pug
+1
-1
view.pug
server/views/pages/view.pug
+1
-1
No files found.
fuse.js
View file @
c82aacfb
...
...
@@ -114,9 +114,9 @@ globalTasks.then(() => {
log
:
true
})
const
bundleVendor
=
fuse
.
bundle
(
'vendor'
).
shim
(
SHIMS
).
instructions
(
'~ index.js'
)
// eslint-disable-line no-unused-vars
const
bundleApp
=
fuse
.
bundle
(
'app'
).
instructions
(
'!> [index.js]'
)
//
const bundleApp = fuse.bundle('app').instructions('> index.js')
//
const bundleVendor = fuse.bundle('vendor').shim(SHIMS).instructions('~ index.js') // eslint-disable-line no-unused-vars
//
const bundleApp = fuse.bundle('app').instructions('!> [index.js]')
const
bundleApp
=
fuse
.
bundle
(
'app'
).
instructions
(
'> index.js'
)
const
bundleSetup
=
fuse
.
bundle
(
'configure'
).
instructions
(
'> configure.js'
)
switch
(
mode
)
{
...
...
server/views/auth/login.pug
View file @
c82aacfb
...
...
@@ -18,7 +18,7 @@ html(data-logic='login')
link(rel='manifest', href='/manifest.json')
// JS / CSS
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
//-
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
script(type='text/javascript', src=appconfig.host + '/js/app.js')
body
...
...
server/views/configure/index.pug
View file @
c82aacfb
...
...
@@ -13,7 +13,7 @@ html(data-logic='configure')
script(type='text/javascript').
var appconfig = !{JSON.stringify(conf)};
var runmode = !{JSON.stringify(runmode)};
script(type='text/javascript', src='/js/vendor.js')
//-
script(type='text/javascript', src='/js/vendor.js')
script(type='text/javascript', src='/js/configure.js')
body
...
...
server/views/error-forbidden.pug
View file @
c82aacfb
...
...
@@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href=appconfig.host + '/manifest.json')
// JS / CSS
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
//-
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
script(type='text/javascript', src=appconfig.host + '/js/app.js')
body(class='is-forbidden')
...
...
server/views/error-notexist.pug
View file @
c82aacfb
...
...
@@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href=appconfig.host + '/manifest.json')
// JS / CSS
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
//-
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
script(type='text/javascript', src=appconfig.host + '/js/app.js')
body(class='is-notexist')
...
...
server/views/error.pug
View file @
c82aacfb
...
...
@@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href=appconfig.host + '/manifest.json')
// JS / CSS
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
//-
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
script(type='text/javascript', src=appconfig.host + '/js/app.js')
body(class='is-error')
...
...
server/views/layout.pug
View file @
c82aacfb
...
...
@@ -23,7 +23,7 @@ html
var siteRoot = '!{appconfig.host}';
//- JS / CSS
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
//-
script(type='text/javascript', src=appconfig.host + '/js/vendor.js')
script(type='text/javascript', src=appconfig.host + '/js/app.js')
block head
...
...
server/views/pages/admin/_layout.pug
View file @
c82aacfb
...
...
@@ -48,7 +48,7 @@ block content
a(href='/admin/theme')
i.nc-icon-outline.ui-1_drop
span= t('nav.theme')
li
//-
li
a(href='/admin/settings')
i.nc-icon-outline.ui-1_settings-gear-63
span= t('nav.syssettings')
...
...
server/views/pages/view.pug
View file @
c82aacfb
...
...
@@ -18,7 +18,7 @@ block rootNavRight
a.button.is-outlined(href='/source/' + pageData.meta.path)
i.nc-icon-outline.education_paper
span= t('nav.source')
a.button.is-outlined(href='/hist/' + pageData.meta.path)
//-
a.button.is-outlined(href='/hist/' + pageData.meta.path)
i.nc-icon-outline.ui-2_time
span= t('nav.history')
if rights.write
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment