Compare commits

...
3 Commits
Author SHA1 Message Date
qingwei.li 25ccc79e56 -> v3.6.4 2017-04-28 08:03:56 +08:00
qingwei.li 890d29f982 bump: 3.6.4 2017-04-28 08:03:49 +08:00
qingwei.li 76c041ad48 fix(util): correctly clean up duplicate slashes, fixed #153 2017-04-28 08:02:54 +08:00
5 changed files with 11 additions and 6 deletions
+6 -1
View File
@@ -1,12 +1,17 @@
# Changelog
## 3.6.4 / 2017-04-28
* fix(util): correctly clean up duplicate slashes, fixed ([#153](https://github.com/QingWei-Li/docsify/issues/153)
## 3.6.3 / 2017-04-25
* fix(external-script): script attrs
## 3.6.2/ 2017-04-12
* feat(external-script): detect more than one script dom, fixed #146
* feat(external-script): detect more than one script dom, fixed ([#146](https://github.com/QingWei-Li/docsify/issues/146)
* GA: Send hash instead of complete href (#147)
## 3.6.1 / 2017-04-09
+1 -1
View File
@@ -314,7 +314,7 @@ var getParentPath = cached(function (path) {
});
var cleanPath = cached(function (path) {
return path.replace(/\/+/g, '/')
return path.replace(/([^:])\/{2,}/g, '$1/')
});
function replaceHash (path) {
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "docsify",
"version": "3.6.3",
"version": "3.6.4",
"description": "A magical documentation generator.",
"author": {
"name": "qingwei-li",
+1 -1
View File
@@ -54,5 +54,5 @@ export const getParentPath = cached(path => {
})
export const cleanPath = cached(path => {
return path.replace(/\/+/g, '/')
return path.replace(/([^:])\/{2,}/g, '$1/')
})