mirror of
https://github.com/golang/go
synced 2024-11-25 09:37:56 -07:00
lib/godoc/godoc.html: try Google hosted jQuery first, fallback to locally hosted one
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6593078
This commit is contained in:
parent
3fd5e0be9d
commit
593a628572
@ -8,7 +8,8 @@
|
|||||||
<title>The Go Programming Language</title>
|
<title>The Go Programming Language</title>
|
||||||
{{end}}
|
{{end}}
|
||||||
<link type="text/css" rel="stylesheet" href="/doc/style.css">
|
<link type="text/css" rel="stylesheet" href="/doc/style.css">
|
||||||
<script type="text/javascript" src="/doc/jquery.js"></script>
|
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript">window.jQuery || document.write(unescape("%3Cscript src='/doc/jquery.js' type='text/javascript'%3E%3C/script%3E"));</script>
|
||||||
<script type="text/javascript" src="/doc/godocs.js"></script>
|
<script type="text/javascript" src="/doc/godocs.js"></script>
|
||||||
{{if .SearchBox}}
|
{{if .SearchBox}}
|
||||||
<link rel="search" type="application/opensearchdescription+xml" title="godoc" href="/opensearch.xml" />
|
<link rel="search" type="application/opensearchdescription+xml" title="godoc" href="/opensearch.xml" />
|
||||||
|
Loading…
Reference in New Issue
Block a user