Update to fix pagination error in list.js over v1.5.0
This commit is contained in:
parent
506a381eca
commit
f55a4b8497
3 changed files with 4 additions and 9 deletions
|
@ -54,8 +54,7 @@
|
||||||
"js-yaml": "^3.7.0",
|
"js-yaml": "^3.7.0",
|
||||||
"jsdom-nogyp": "^0.8.3",
|
"jsdom-nogyp": "^0.8.3",
|
||||||
"keymaster": "^1.6.2",
|
"keymaster": "^1.6.2",
|
||||||
"list.js": "^1.3.0",
|
"list.js": "^1.5.0",
|
||||||
"list.pagination.js": "^0.1.1",
|
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"lz-string": "1.4.4",
|
"lz-string": "1.4.4",
|
||||||
"markdown-it": "^8.2.2",
|
"markdown-it": "^8.2.2",
|
||||||
|
|
|
@ -54,11 +54,9 @@ const options = {
|
||||||
'</a>' +
|
'</a>' +
|
||||||
'</li>',
|
'</li>',
|
||||||
page: 18,
|
page: 18,
|
||||||
plugins: [
|
pagination: [{
|
||||||
window.ListPagination({
|
outerWindow: 1
|
||||||
outerWindow: 1
|
}]
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
const historyList = new List('history', options)
|
const historyList = new List('history', options)
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,6 @@ module.exports = {
|
||||||
'cover-pack': [
|
'cover-pack': [
|
||||||
'babel-polyfill',
|
'babel-polyfill',
|
||||||
'bootstrap-validator',
|
'bootstrap-validator',
|
||||||
'script!listPagnation',
|
|
||||||
'expose?select2!select2',
|
'expose?select2!select2',
|
||||||
'expose?moment!moment',
|
'expose?moment!moment',
|
||||||
'script!js-url',
|
'script!js-url',
|
||||||
|
@ -365,7 +364,6 @@ module.exports = {
|
||||||
codemirrorSpellChecker: path.join(__dirname, 'public/vendor/codemirror-spell-checker/spell-checker.min.js'),
|
codemirrorSpellChecker: path.join(__dirname, 'public/vendor/codemirror-spell-checker/spell-checker.min.js'),
|
||||||
codemirrorInlineAttachment: path.join(__dirname, 'public/vendor/inlineAttachment/codemirror.inline-attachment.js'),
|
codemirrorInlineAttachment: path.join(__dirname, 'public/vendor/inlineAttachment/codemirror.inline-attachment.js'),
|
||||||
ot: path.join(__dirname, 'public/vendor/ot/ot.min.js'),
|
ot: path.join(__dirname, 'public/vendor/ot/ot.min.js'),
|
||||||
listPagnation: path.join(__dirname, 'node_modules/list.pagination.js/dist/list.pagination.min.js'),
|
|
||||||
mermaid: path.join(__dirname, 'node_modules/mermaid/dist/mermaid.min.js'),
|
mermaid: path.join(__dirname, 'node_modules/mermaid/dist/mermaid.min.js'),
|
||||||
handlebars: path.join(__dirname, 'node_modules/handlebars/dist/handlebars.min.js'),
|
handlebars: path.join(__dirname, 'node_modules/handlebars/dist/handlebars.min.js'),
|
||||||
'jquery-ui-resizable': path.join(__dirname, 'public/vendor/jquery-ui/jquery-ui.min.js'),
|
'jquery-ui-resizable': path.join(__dirname, 'public/vendor/jquery-ui/jquery-ui.min.js'),
|
||||||
|
|
Loading…
Reference in a new issue