Commit 7023a5d1 authored by Oling Cat's avatar Oling Cat Committed by Russ Cox

lib/godoc: convert indentation to tabs.

R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/7497048
parent 51f14a9f
...@@ -75,9 +75,9 @@ ...@@ -75,9 +75,9 @@
{{end}} {{end}}
{{end}} {{end}}
{{if $.Notes}} {{if $.Notes}}
{{range $marker, $item := $.Notes}} {{range $marker, $item := $.Notes}}
<dd><a href="#pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</a></dd> <dd><a href="#pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</a></dd>
{{end}} {{end}}
{{end}} {{end}}
</dl> </dl>
</div><!-- #manual-nav --> </div><!-- #manual-nav -->
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</dl> </dl>
</div> </div>
{{end}} {{end}}
{{with .Filenames}} {{with .Filenames}}
<h4>Package files</h4> <h4>Package files</h4>
<p> <p>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
{{end}} {{end}}
</div><!-- .expanded --> </div><!-- .expanded -->
</div><!-- #pkg-index --> </div><!-- #pkg-index -->
{{with .Consts}} {{with .Consts}}
<h2 id="pkg-constants">Constants</h2> <h2 id="pkg-constants">Constants</h2>
{{range .}} {{range .}}
...@@ -167,11 +167,11 @@ ...@@ -167,11 +167,11 @@
{{end}} {{end}}
{{with $.Notes}} {{with $.Notes}}
{{range $marker, $content := .}} {{range $marker, $content := .}}
<h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2> <h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
{{range .}} {{range .}}
{{comment_html .}} {{comment_html .}}
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}
...@@ -252,7 +252,7 @@ $(document).ready(function() { ...@@ -252,7 +252,7 @@ $(document).ready(function() {
var resize = function() { var resize = function() {
code.height(0); code.height(0);
var h = code[0].scrollHeight; var h = code[0].scrollHeight;
code.height(h+20); // minimize bouncing code.height(h+20); // minimize bouncing.
code.closest('.input').height(h); code.closest('.input').height(h);
}; };
code.on('keydown', resize); code.on('keydown', resize);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment