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
This commit is contained in:
parent
935700a081
commit
8aabc9a084
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -726,7 +726,7 @@ function setupDropdownPlayground() {
|
|||
'runEl': $('.run', div),
|
||||
'fmtEl': $('.fmt', div),
|
||||
'shareEl': $('.share', div),
|
||||
'shareRedirect': 'http://play.golang.org/p/'
|
||||
'shareRedirect': '//play.golang.org/p/'
|
||||
});
|
||||
},
|
||||
function() {
|
||||
|
|
@ -750,7 +750,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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue