Skip to content

Commit 31f1a64

Browse files
committed
update outdated comment
1 parent 41dc2c7 commit 31f1a64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/docsify.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ describe('Docsify public API', () => {
5555
const { documentReady } = require('../../src/core/util/dom');
5656
await new Promise(resolve => documentReady(resolve, DOM.window.document));
5757

58-
// deprecated global API, still works for now, backwards comaptible
58+
// If the script was built successfully for production, then it should load
59+
// and the following APIs should be available:
5960
expect(typeof DOM.window.Docsify).to.equal('object');
6061
expect(typeof DOM.window.Docsify.util).to.equal('object');
6162
expect(typeof DOM.window.Docsify.dom).to.equal('object');

0 commit comments

Comments
 (0)