Skip to content

Commit 75381cf

Browse files
committed
[build] 4.1.10
1 parent 7e2e5a7 commit 75381cf

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/_coverpage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![logo](_media/icon.svg)
22

3-
# docsify <small>4.1.9</small>
3+
# docsify <small>4.1.10</small>
44

55
> A magical documentation site generator.
66

lib/docsify.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -3403,17 +3403,17 @@ var HashHistory = (function (History$$1) {
34033403

34043404
var query = '';
34053405

3406+
var hashIndex = path.indexOf('#');
3407+
if (hashIndex) {
3408+
path = path.slice(hashIndex + 1);
3409+
}
3410+
34063411
var queryIndex = path.indexOf('?');
34073412
if (queryIndex >= 0) {
34083413
query = path.slice(queryIndex + 1);
34093414
path = path.slice(0, queryIndex);
34103415
}
34113416

3412-
var hashIndex = path.indexOf('#');
3413-
if (hashIndex) {
3414-
path = path.slice(hashIndex + 1);
3415-
}
3416-
34173417
return {
34183418
path: path,
34193419
file: this.getFile(path),
@@ -3743,7 +3743,7 @@ initGlobalAPI();
37433743
/**
37443744
* Version
37453745
*/
3746-
Docsify.version = '4.1.8';
3746+
Docsify.version = '4.1.10';
37473747

37483748
/**
37493749
* Run Docsify

lib/docsify.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/docsify-server-renderer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsify-server-renderer",
3-
"version": "4.1.8",
3+
"version": "4.1.10",
44
"description": "docsify server renderer",
55
"author": {
66
"name": "qingwei-li",

0 commit comments

Comments
 (0)