Skip to content

Commit a042aca

Browse files
committed
remove deprecation messages from global API
1 parent 4b6f2d3 commit a042aca

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/core/global-api.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,7 @@ import { Compiler } from './render/compiler.js';
66
import { slugify } from './render/slugify.js';
77
import { get } from './util/ajax.js';
88

9-
/**
10-
* @deprecated This is deprecated, kept for backwards compatibility. It will be
11-
* Removed in a major release. Get everything from the DOCSIFY global when using
12-
* the global build, but we highly recommend to import Docsify using standard
13-
* import syntax.
14-
*/
159
export default function initGlobalAPI() {
16-
console.warn(
17-
'DEPRECATION: The Docsify global script is deprecated. See the latest getting started docs. https://docsify.js.org/#/quickstart',
18-
);
19-
2010
window.Docsify = {
2111
util,
2212
dom,

0 commit comments

Comments
 (0)