fix:清理调试代码。
This commit is contained in:
parent
e60789f6fe
commit
d57ec21ba9
|
@ -10,7 +10,6 @@ hexo.extend.helper.register("uk_paginator", function(option) {
|
|||
mainClasses: [],
|
||||
itemClasses: [],
|
||||
}, option);
|
||||
console.dir(options);
|
||||
|
||||
let pageStructure = [];
|
||||
pageStructure.push(`<ul class="uk-pagination ${options.mainClasses.join(' ')}">`);
|
||||
|
@ -36,7 +35,6 @@ hexo.extend.helper.register("uk_paginator", function(option) {
|
|||
for (let p = Math.max(pageGroups[pageGroups.length - 1] + 1, options.total - options.sideSize + 1); p <= options.total; p++) {
|
||||
pageGroups.push(p);
|
||||
}
|
||||
console.dir(pageGroups);
|
||||
|
||||
pageGroups.forEach(function(page, index) {
|
||||
if (index > 0 && page - pageGroups[index - 1] > 1) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user