mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
bump
This commit is contained in:
parent
4f27fff283
commit
2cf91da2f0
@ -2249,8 +2249,6 @@ var bindEvent = function () {
|
||||
|
||||
var DEFAULT_OPTS = {
|
||||
el: '#app',
|
||||
title: document.title,
|
||||
sep: ' - ',
|
||||
repo: ''
|
||||
};
|
||||
|
||||
@ -2266,7 +2264,6 @@ var Docsify = function Docsify (opts) {
|
||||
Docsify.installed = true;
|
||||
|
||||
this.opts = Object.assign({}, opts, DEFAULT_OPTS);
|
||||
this.opts.title = (this.opts.title ? this.opts.sep : '') + this.opts.title;
|
||||
|
||||
this.replace = true;
|
||||
this.dom = document.querySelector(this.opts.el);
|
||||
@ -2297,9 +2294,6 @@ Docsify.prototype.load = function load () {
|
||||
};
|
||||
|
||||
Docsify.prototype.render = function render$1 (content) {
|
||||
if (this.loc.slice(1) !== 'README') {
|
||||
document.title = this.loc.slice(1) + this.opts.title;
|
||||
}
|
||||
this.dom[this.replace ? 'outerHTML' : 'innerHTML'] = render(content, this.opts);
|
||||
};
|
||||
|
||||
|
||||
2
lib/docsify.min.js
vendored
2
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user