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
d590c67d
Commit
d590c67d
authored
Jun 09, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: Removed old client page logic
parent
046f0b9a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
48 deletions
+10
-48
extensions.json
.vscode/extensions.json
+10
-0
create.js
client/js/pages/create.js
+0
-17
edit.js
client/js/pages/edit.js
+0
-22
history.js
client/js/pages/history.js
+0
-9
No files found.
.vscode/extensions.json
0 → 100644
View file @
d590c67d
{
"recommendations"
:
[
"EditorConfig.editorconfig"
,
"dbaeumer.vscode-eslint"
,
"christian-kohler.path-intellisense"
,
"mrmlnc.vscode-puglint"
,
"robinbentley.sass-indented"
,
"octref.vetur"
]
}
client/js/pages/create.js
deleted
100644 → 0
View file @
046f0b9a
'use strict'
import
$
from
'jquery'
module
.
exports
=
(
alerts
,
socket
)
=>
{
if
(
$
(
'#page-type-create'
).
length
)
{
let
pageEntryPath
=
$
(
'#page-type-create'
).
data
(
'entrypath'
)
// -> Discard
$
(
'.btn-create-discard'
).
on
(
'click'
,
(
ev
)
=>
{
$
(
'#modal-create-discard'
).
toggleClass
(
'is-active'
)
})
require
(
'../components/editor.js'
)(
alerts
,
pageEntryPath
,
socket
)
}
}
client/js/pages/edit.js
deleted
100644 → 0
View file @
046f0b9a
'use strict'
import
$
from
'jquery'
module
.
exports
=
(
alerts
,
socket
)
=>
{
if
(
$
(
'#page-type-edit'
).
length
)
{
let
pageEntryPath
=
$
(
'#page-type-edit'
).
data
(
'entrypath'
)
// let pageCleanExit = false
// -> Discard
$
(
'.btn-edit-discard'
).
on
(
'click'
,
(
ev
)
=>
{
$
(
'#modal-edit-discard'
).
toggleClass
(
'is-active'
)
})
// window.onbeforeunload = function () {
// return (pageCleanExit) ? true : 'Unsaved modifications will be lost. Are you sure you want to navigate away from this page?'
// }
require
(
'../components/editor.js'
)(
alerts
,
pageEntryPath
,
socket
)
}
}
client/js/pages/history.js
deleted
100644 → 0
View file @
046f0b9a
'use strict'
import
$
from
'jquery'
module
.
exports
=
(
alerts
)
=>
{
if
(
$
(
'#page-type-history'
).
length
)
{
// let currentBasePath = ($('#page-type-history').data('entrypath') !== 'home') ? $('#page-type-history').data('entrypath') : ''
}
}
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