[build] 4.3.8

This commit is contained in:
qingwei.li
2017-10-07 10:08:27 +08:00
parent 9b4e6669db
commit 25acd8ce77
5 changed files with 11 additions and 8 deletions

View File

@@ -2694,13 +2694,16 @@ function genTree (toc, maxLevel) {
var cache$1 = {};
var re = /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@\[\]^`{|}~]/g;
function lower (string) {
return string.toLowerCase()
}
function slugify (str) {
if (typeof str !== 'string') { return '' }
str = /^[\w\s]+$/g.test(str) ? str.toLowerCase() : str;
var slug = str
.trim()
.replace(/[A-Z]+/g, lower)
.replace(/<[^>\d]+>/g, '')
.replace(re, '')
.replace(/\s/g, '-')
@@ -3976,7 +3979,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.3.7';
Docsify.version = '4.3.8';
/**
* Run Docsify

4
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long