]> Cypherpunks repositories - gostls13.git/commitdiff
lib/godoc: convert indentation to tabs.
authorOling Cat <olingcat@gmail.com>
Tue, 19 Mar 2013 13:40:57 +0000 (09:40 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 19 Mar 2013 13:40:57 +0000 (09:40 -0400)
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/7497048

lib/godoc/package.html

index 1fe6e7595fd8e0452a048ca61c65e1e1c1f5a04a..6795d142d11b7b75cdf2355c900d5d5cf35e3ade 100644 (file)
@@ -75,9 +75,9 @@
                                {{end}}
                        {{end}}
                        {{if $.Notes}}
-                                {{range $marker, $item := $.Notes}}
+                               {{range $marker, $item := $.Notes}}
                                <dd><a href="#pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</a></dd>
-                                {{end}}
+                               {{end}}
                        {{end}}
                        </dl>
                        </div><!-- #manual-nav -->
@@ -92,7 +92,7 @@
                        </dl>
                </div>
                {{end}}
-       
+
                {{with .Filenames}}
                        <h4>Package files</h4>
                        <p>
                {{end}}
                </div><!-- .expanded -->
                </div><!-- #pkg-index -->
-       
+
                {{with .Consts}}
                        <h2 id="pkg-constants">Constants</h2>
                        {{range .}}
        {{end}}
 
        {{with $.Notes}}
-                {{range $marker, $content := .}}
-                   <h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
-                   {{range .}}
-                   {{comment_html .}}
-                    {{end}}
+               {{range $marker, $content := .}}
+                       <h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
+                       {{range .}}
+                       {{comment_html .}}
+                       {{end}}
                {{end}}
        {{end}}
 {{end}}
@@ -252,7 +252,7 @@ $(document).ready(function() {
                        var resize = function() {
                                code.height(0);
                                var h = code[0].scrollHeight;
-                               code.height(h+20); // minimize bouncing
+                               code.height(h+20); // minimize bouncing.
                                code.closest('.input').height(h);
                        };
                        code.on('keydown', resize);