Skip to content

Commit 7f9939c

Browse files
committed
Fix ESLint errors
1 parent b61fa15 commit 7f9939c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@
118118
'/zh-cn/': '搜索',
119119
'/': 'Search',
120120
},
121-
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn']
121+
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
122122
},
123123
vueComponents: {
124124
'button-counter': {
125125
template:
126126
'<button @click="count += 1">You clicked me {{ count }} times</button>',
127-
data: function() {
127+
data: function () {
128128
return {
129129
count: 0,
130130
};
131131
},
132132
},
133133
},
134134
vueGlobalOptions: {
135-
data: function() {
135+
data: function () {
136136
return {
137137
count: 0,
138138
message: 'Hello, World!',
@@ -145,7 +145,7 @@
145145
};
146146
},
147147
computed: {
148-
timeOfDay: function() {
148+
timeOfDay: function () {
149149
const date = new Date();
150150
const hours = date.getHours();
151151

@@ -159,14 +159,14 @@
159159
},
160160
},
161161
methods: {
162-
hello: function() {
162+
hello: function () {
163163
alert(this.message);
164164
},
165165
},
166166
},
167167
vueMounts: {
168168
'#counter': {
169-
data: function() {
169+
data: function () {
170170
return {
171171
count: 0,
172172
};
@@ -175,8 +175,8 @@
175175
},
176176
plugins: [
177177
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
178-
function(hook, vm) {
179-
hook.beforeEach(function(html) {
178+
function (hook, vm) {
179+
hook.beforeEach(function (html) {
180180
if (/githubusercontent\.com/.test(vm.route.file)) {
181181
url = vm.route.file
182182
.replace('raw.githubusercontent.com', 'github.com')
@@ -198,7 +198,7 @@
198198
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
199199
);
200200
}),
201-
hook.afterEach(function(html) {
201+
hook.afterEach(function (html) {
202202
if (vm.route.path === '/') {
203203
return html;
204204
}

0 commit comments

Comments
 (0)