mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
fix(embed): init value
This commit is contained in:
parent
edc3201367
commit
890a7bf9b6
@ -36,7 +36,7 @@ function walkFetchEmbed ({ step = 0, embedTokens, compile, fetch }, cb) {
|
||||
}
|
||||
}
|
||||
|
||||
export function prerenderEmbed ({ compiler, raw, fetch }, done) {
|
||||
export function prerenderEmbed ({ compiler, raw = '', fetch }, done) {
|
||||
let hit
|
||||
if ((hit = cached[raw])) {
|
||||
return done(hit)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user