Skip to content

Commit dca22f3

Browse files
committed
simplify import
1 parent 79fe3d5 commit dca22f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as dom from './util/dom';
1+
import { documentReady } from './util/dom';
22
import { Docsify } from './Docsify';
33

44
/**
55
* Run Docsify
66
*/
77
// eslint-disable-next-line no-unused-vars
8-
dom.documentReady(_ => new Docsify());
8+
documentReady(_ => new Docsify());

0 commit comments

Comments
 (0)