mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
[build] 4.2.9
This commit is contained in:
parent
b7735066ff
commit
4417f4669d
@ -1,6 +1,6 @@
|
|||||||

|

|
||||||
|
|
||||||
# docsify <small>4.2.8</small>
|
# docsify <small>4.2.9</small>
|
||||||
|
|
||||||
> A magical documentation site generator.
|
> A magical documentation site generator.
|
||||||
|
|
||||||
|
|||||||
@ -3789,6 +3789,19 @@ var initGlobalAPI = function () {
|
|||||||
window.Prism = prism;
|
window.Prism = prism;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fork https://github.com/bendrucker/document-ready/blob/master/index.js
|
||||||
|
*/
|
||||||
|
function ready (callback) {
|
||||||
|
var state = document.readyState;
|
||||||
|
|
||||||
|
if (state === 'complete' || state === 'interactive') {
|
||||||
|
return setTimeout(callback, 0)
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', callback);
|
||||||
|
}
|
||||||
|
|
||||||
function Docsify () {
|
function Docsify () {
|
||||||
this._init();
|
this._init();
|
||||||
}
|
}
|
||||||
@ -3809,11 +3822,11 @@ initGlobalAPI();
|
|||||||
/**
|
/**
|
||||||
* Version
|
* Version
|
||||||
*/
|
*/
|
||||||
Docsify.version = '4.2.8';
|
Docsify.version = '4.2.9';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run Docsify
|
* Run Docsify
|
||||||
*/
|
*/
|
||||||
setTimeout(function (_) { return new Docsify(); }, 0);
|
ready(function (_) { return new Docsify(); });
|
||||||
|
|
||||||
}());
|
}());
|
||||||
|
|||||||
4
lib/docsify.min.js
vendored
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
@ -37,5 +37,5 @@
|
|||||||
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
|
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "4.2.8"
|
"version": "4.2.9"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "docsify-server-renderer",
|
"name": "docsify-server-renderer",
|
||||||
"version": "4.2.8",
|
"version": "4.2.9",
|
||||||
"description": "docsify server renderer",
|
"description": "docsify server renderer",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "qingwei-li",
|
"name": "qingwei-li",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user