Skip to content

Commit 72da42e

Browse files
committed
Fix docsify-plugin-carbon error & ESLint errors
1 parent 533193f commit 72da42e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<body>
2525
<div id="app"></div>
26-
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1/index.min.js"></script>
26+
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1"></script>
2727
<script>
2828
// Set html "lang" attribute based on URL
2929
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
@@ -82,12 +82,12 @@
8282
'/zh-cn/': '搜索',
8383
'/': 'Search',
8484
},
85-
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn']
85+
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
8686
},
8787
plugins: [
8888
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
89-
function(hook, vm) {
90-
hook.beforeEach(function(html) {
89+
function (hook, vm) {
90+
hook.beforeEach(function (html) {
9191
if (/githubusercontent\.com/.test(vm.route.file)) {
9292
url = vm.route.file
9393
.replace('raw.githubusercontent.com', 'github.com')

0 commit comments

Comments
 (0)