Skip to content

Commit 487902c

Browse files
committed
Fix GitHub links
1 parent 5fdeb00 commit 487902c

File tree

3 files changed

+0
-36
lines changed

3 files changed

+0
-36
lines changed

resources/js/markdown-template.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74383,10 +74383,6 @@ social.github.edit.url = function (url) {
7438374383
var github = 'https://github.com/' + repo + '/edit/master'
7438474384
var path = social.github.path(url)
7438574385

74386-
if (path === '') {
74387-
return 'https://github.com/' + repo + '/'
74388-
}
74389-
7439074386
return github + path + '/' + defaults.index
7439174387
}
7439274388

@@ -74403,10 +74399,6 @@ social.github.raw.url = function (url) {
7440374399
var github = 'https://github.com/' + repo + '/raw/master'
7440474400
var path = social.github.path(url)
7440574401

74406-
if (path === '') {
74407-
return 'https://github.com/' + repo + '/'
74408-
}
74409-
7441074402
return github + path + '/' + defaults.index
7441174403
}
7441274404

@@ -74419,10 +74411,6 @@ social.github.url = function (url) {
7441974411
var github = 'https://github.com/' + repo + '/blob/master'
7442074412
var path = social.github.path(url)
7442174413

74422-
if (path === '') {
74423-
return 'https://github.com/' + repo + '/'
74424-
}
74425-
7442674414
return github + path + '/' + defaults.index
7442774415
}
7442874416

resources/lib/social.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ social.github.edit.url = function (url) {
7575
var github = 'https://github.com/' + repo + '/edit/master'
7676
var path = social.github.path(url)
7777

78-
if (path === '') {
79-
return 'https://github.com/' + repo + '/'
80-
}
81-
8278
return github + path + '/' + defaults.index
8379
}
8480

@@ -95,10 +91,6 @@ social.github.raw.url = function (url) {
9591
var github = 'https://github.com/' + repo + '/raw/master'
9692
var path = social.github.path(url)
9793

98-
if (path === '') {
99-
return 'https://github.com/' + repo + '/'
100-
}
101-
10294
return github + path + '/' + defaults.index
10395
}
10496

@@ -111,10 +103,6 @@ social.github.url = function (url) {
111103
var github = 'https://github.com/' + repo + '/blob/master'
112104
var path = social.github.path(url)
113105

114-
if (path === '') {
115-
return 'https://github.com/' + repo + '/'
116-
}
117-
118106
return github + path + '/' + defaults.index
119107
}
120108

resources/test/test.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17279,10 +17279,6 @@ social.github.edit.url = function (url) {
1727917279
var github = 'https://github.com/' + repo + '/edit/master'
1728017280
var path = social.github.path(url)
1728117281

17282-
if (path === '') {
17283-
return 'https://github.com/' + repo + '/'
17284-
}
17285-
1728617282
return github + path + '/' + defaults.index
1728717283
}
1728817284

@@ -17299,10 +17295,6 @@ social.github.raw.url = function (url) {
1729917295
var github = 'https://github.com/' + repo + '/raw/master'
1730017296
var path = social.github.path(url)
1730117297

17302-
if (path === '') {
17303-
return 'https://github.com/' + repo + '/'
17304-
}
17305-
1730617298
return github + path + '/' + defaults.index
1730717299
}
1730817300

@@ -17315,10 +17307,6 @@ social.github.url = function (url) {
1731517307
var github = 'https://github.com/' + repo + '/blob/master'
1731617308
var path = social.github.path(url)
1731717309

17318-
if (path === '') {
17319-
return 'https://github.com/' + repo + '/'
17320-
}
17321-
1732217310
return github + path + '/' + defaults.index
1732317311
}
1732417312

0 commit comments

Comments
 (0)