[build] 4.6.10

This commit is contained in:
qingwei.li 2018-03-25 13:26:50 +08:00
commit 85e3c68158
5 changed files with 66 additions and 62 deletions

View file

@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>4.6.9</small>
# docsify <small>4.6.10</small>
> A magical documentation site generator.

View file

@ -60,6 +60,7 @@ function isFn(obj) {
return typeof obj === 'function'
}
function config () {
var config = merge(
{
el: '#app',
@ -125,6 +126,9 @@ if (script) {
window.$docsify = config;
return config
}
function initLifecycle(vm) {
var hooks = [
'init',
@ -4494,7 +4498,7 @@ function initFetch(vm) {
function initMixin(proto) {
proto._init = function () {
var vm = this;
vm.config = config || {};
vm.config = config();
initLifecycle(vm); // Init hooks
initPlugin(vm); // Install plugins
@ -4573,7 +4577,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.6.9';
Docsify.version = '4.6.10';
/**
* Run Docsify

2
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
}
},
"version": "4.6.9"
"version": "4.6.10"
}

View file

@ -1,6 +1,6 @@
{
"name": "docsify-server-renderer",
"version": "4.6.9",
"version": "4.6.10",
"description": "docsify server renderer",
"author": {
"name": "qingwei-li",