Skip to content

Commit 3b14e37

Browse files
committed
chore(core): move tag processors to hexo-component-inferno
1 parent eb86ccf commit 3b14e37

4 files changed

Lines changed: 3 additions & 179 deletions

File tree

include/register.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = hexo => {
1111
require('hexo-component-inferno/lib/hexo/generator/tags')(hexo);
1212
require('hexo-component-inferno/lib/hexo/helper/cdn')(hexo);
1313
require('hexo-component-inferno/lib/hexo/helper/page')(hexo);
14+
require('hexo-component-inferno/lib/hexo/tag/message')(hexo);
15+
require('hexo-component-inferno/lib/hexo/tag/tabs')(hexo);
1416
require('hexo-component-inferno/lib/core/view').init(hexo);
15-
require('./../scripts/tags/message')(hexo);
16-
require('./../scripts/tags/tabs')(hexo);
1717
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"dependencies": {
3737
"deepmerge": "^4.2.2",
38-
"hexo-component-inferno": "^1.0.2",
38+
"hexo-component-inferno": "^1.1.0",
3939
"inferno": "^7.3.3",
4040
"inferno-create-element": "^7.3.3",
4141
"moment": "^2.22.2",

scripts/tags/message.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

scripts/tags/tabs.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)