Skip to content

Commit 20d60c4

Browse files
committed
docs(write-a-plugin): update demo
1 parent 1938fd5 commit 20d60c4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 4.1.8(since 4.1.1) / 2017-05-31
4+
5+
* fix(pure-css):add coverpage style, fixed #165
6+
* feat: add edit button demo, close #162
7+
* fix some ssr bugs
8+
39
## 4.1.0 / 2017-05-30 🎂 to me
410

511

docs/de-de/write-a-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ window.$docsify = {
7979
plugins: [
8080
function(hook, vm) {
8181
hook.beforeEach(function (html) {
82-
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile()
82+
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file
8383
var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n'
8484

8585
return editHtml

docs/write-a-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ window.$docsify = {
7878
plugins: [
7979
function(hook, vm) {
8080
hook.beforeEach(function (html) {
81-
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile()
81+
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file
8282
var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n'
8383

8484
return editHtml

docs/zh-cn/write-a-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ window.$docsify = {
7979
plugins: [
8080
function(hook, vm) {
8181
hook.beforeEach(function (html) {
82-
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.router.getFile()
82+
var url = 'https://github.com/QingWei-Li/docsify/blob/master/docs' + vm.route.file
8383
var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n'
8484

8585
return editHtml

0 commit comments

Comments
 (0)