summaryrefslogtreecommitdiff
path: root/lib/godoc/example.html
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-12-03 09:43:15 +0100
committerMichael Stapelberg <stapelberg@debian.org>2013-12-03 09:43:15 +0100
commit64d2a7c8945ba05af859901f5e248f1befdd8621 (patch)
tree013fcb7e9e3296ecdda876012252c36bd6bcb063 /lib/godoc/example.html
parentb901efe83e212f0c34c769c079e41373da12d723 (diff)
downloadgolang-64d2a7c8945ba05af859901f5e248f1befdd8621.tar.gz
Imported Upstream version 1.2upstream/1.2
Diffstat (limited to 'lib/godoc/example.html')
-rw-r--r--lib/godoc/example.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/godoc/example.html b/lib/godoc/example.html
deleted file mode 100644
index cda2a8491..000000000
--- a/lib/godoc/example.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<div id="example_{{.Name}}" class="toggle">
- <div class="collapsed">
- <p class="exampleHeading toggleButton">▹ <span class="text">Example{{example_suffix .Name}}</span></p>
- </div>
- <div class="expanded">
- <p class="exampleHeading toggleButton">▾ <span class="text">Example{{example_suffix .Name}}</span></p>
- {{with .Doc}}<p>{{html .}}</p>{{end}}
- {{$output := .Output}}
- {{with .Play}}
- <div class="play">
- <div class="input"><textarea class="code">{{html .}}</textarea></div>
- <div class="output"><pre>{{html $output}}</pre></div>
- <div class="buttons">
- <a class="run" title="Run this code [shift-enter]">Run</a>
- <a class="fmt" title="Format this code">Format</a>
- <a class="share" title="Share this code">Share</a>
- </div>
- </div>
- {{else}}
- <p>Code:</p>
- <pre class="code">{{.Code}}</pre>
- {{with .Output}}
- <p>Output:</p>
- <pre class="output">{{html .}}</pre>
- {{end}}
- {{end}}
- </div>
-</div>