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 4f48679 commit d4a4425Copy full SHA for d4a4425
src/core/config.js
@@ -1,5 +1,7 @@
1
import {merge, hyphenate, isPrimitive, hasOwn} from './util/core'
2
3
+const currentScript = document.currentScript
4
+
5
export default function () {
6
const config = merge(
7
{
@@ -36,7 +38,7 @@ export default function () {
36
38
)
37
39
40
const script =
- document.currentScript ||
41
+ currentScript ||
42
[].slice
43
.call(document.getElementsByTagName('script'))
44
.filter(n => /docsify\./.test(n.src))[0]
0 commit comments