[release-branch.go1.3] go.tools/godoc: drop scheme from links

««« CL 111640043 / a2b9ff935cf3
go.tools/godoc: drop scheme from links

golang.org now serves HTTPS,
so the scripts should work
with either HTTP ot HTTPS.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/111640043
»»»

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/112690043
This commit is contained in:
Andrew Gerrand 2014-07-25 10:29:02 +10:00
parent 3e9181fb84
commit a89089ae07
2 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,7 @@ function setupDropdownPlayground() {
'runEl': $('.run', div),
'fmtEl': $('.fmt', div),
'shareEl': $('.share', div),
'shareRedirect': 'http://play.golang.org/p/'
'shareRedirect': '//play.golang.org/p/'
});
},
function() {
@ -176,7 +176,7 @@ function setupInlinePlayground() {
'runEl': $('.run', el),
'fmtEl': $('.fmt', el),
'shareEl': $('.share', el),
'shareRedirect': 'http://play.golang.org/p/'
'shareRedirect': '//play.golang.org/p/'
});
// Make the code textarea resize to fit content.

View File

@ -731,7 +731,7 @@ function setupDropdownPlayground() {
'runEl': $('.run', div),
'fmtEl': $('.fmt', div),
'shareEl': $('.share', div),
'shareRedirect': 'http://play.golang.org/p/'
'shareRedirect': '//play.golang.org/p/'
});
},
function() {
@ -755,7 +755,7 @@ function setupInlinePlayground() {
'runEl': $('.run', el),
'fmtEl': $('.fmt', el),
'shareEl': $('.share', el),
'shareRedirect': 'http://play.golang.org/p/'
'shareRedirect': '//play.golang.org/p/'
});
// Make the code textarea resize to fit content.