mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
bump 1.5.2
This commit is contained in:
parent
b8b9dbc872
commit
b87f6ae5e8
@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
# docsify <small>1.5.1</small>
|
||||
# docsify <small>1.5.2</small>
|
||||
|
||||
> A magical documentation site generator.
|
||||
|
||||
|
||||
@ -127,7 +127,9 @@ function slugify (string) {
|
||||
var slug = string.trim()
|
||||
.replace(/<[^>\d]+>/g, '')
|
||||
.replace(re, '')
|
||||
.replace(/\s/g, replacement);
|
||||
.replace(/\s/g, replacement)
|
||||
.replace(/-+/g, replacement)
|
||||
.replace(/^(\d)/, '_$1');
|
||||
var occurrences = slugify.occurrences[slug];
|
||||
|
||||
if (slugify.occurrences.hasOwnProperty(slug)) {
|
||||
|
||||
4
lib/docsify.min.js
vendored
4
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