We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07dda0a commit 146e486Copy full SHA for 146e486
src/core/Docsify.js
@@ -16,12 +16,7 @@ export class Docsify extends multiple(
16
renderMixin,
17
fetchMixin,
18
eventMixin
19
-) {
20
- constructor() {
21
- super();
22
- this._init();
23
- }
24
-}
+) {}
25
26
/**
27
* Global API
src/core/init/index.js
@@ -2,7 +2,9 @@ import config from '../config';
2
3
export function initMixin(Base = class {}) {
4
return class extends Base {
5
- _init() {
+ constructor() {
6
+ super();
7
+
8
this.config = config(this);
9
10
this.initLifecycle(); // Init hooks
0 commit comments