aboutsummaryrefslogtreecommitdiff
path: root/html-test/ref/PatternSyns.html
diff options
context:
space:
mode:
authorTim Baumann <tim@timbaumann.info>2017-10-09 18:33:09 +0200
committerAlexander Biehl <alexbiehl@gmail.com>2017-10-09 18:33:09 +0200
commite41c1cbe9f0476997eac7b4a3f17cbc6b2262faf (patch)
tree630d1956d5c94e7fcbc185027d211c64213597b4 /html-test/ref/PatternSyns.html
parent406030f2782590799e44470da7ca80e85f3cf026 (diff)
Use <details> element for collapsibles (#690)
* Remove unnecessary call to 'collapseSection' The call is unnecessary since there is no corresponding toggle for hiding the section of orphan instances. * Use <details> for collapsibles This makes them work even when JS is disabled. Closes #560.
Diffstat (limited to 'html-test/ref/PatternSyns.html')
-rw-r--r--html-test/ref/PatternSyns.html200
1 files changed, 101 insertions, 99 deletions
diff --git a/html-test/ref/PatternSyns.html b/html-test/ref/PatternSyns.html
index 4b4eea96..bf0cdf1e 100644
--- a/html-test/ref/PatternSyns.html
+++ b/html-test/ref/PatternSyns.html
@@ -47,106 +47,108 @@
></div
></div
><div id="synopsis"
- ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')"
- >Synopsis</p
- ><ul id="section.syn" class="hide" onclick="toggleSection('syn')"
- ><li class="src short"
- ><span class="keyword"
- >data</span
- > <a href="#"
- >FooType</a
- > x = <a href="#"
- >FooCtor</a
- > x</li
- ><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >Foo</a
- > :: <span class="keyword"
- >forall</span
- > x. x -&gt; <a href="#"
- >FooType</a
- > x</li
+ ><details id="syn"
+ ><summary
+ >Synopsis</summary
+ ><ul class="details-toggle" data-details-id="syn"
><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >Bar</a
- > :: <span class="keyword"
- >forall</span
- > x. x -&gt; <a href="#"
- >FooType</a
- > (<a href="#"
- >FooType</a
- > x)</li
- ><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >(:&lt;-&gt;)</a
- > :: <span class="keyword"
- >forall</span
- > x x1. x -&gt; x1 -&gt; (<a href="#"
- >FooType</a
- > x, <a href="#"
- >FooType</a
- > (<a href="#"
- >FooType</a
- > x1))</li
- ><li class="src short"
- ><span class="keyword"
- >data</span
- > <a href="#"
- >BlubType</a
- > = <a href="#"
- >Show</a
- > x =&gt; <a href="#"
- >BlubCtor</a
- > x</li
- ><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >Blub</a
- > :: () =&gt; <span class="keyword"
- >forall</span
- > x. <a href="#"
- >Show</a
- > x =&gt; x -&gt; <a href="#"
- >BlubType</a
- ></li
- ><li class="src short"
- ><span class="keyword"
- >data</span
- > (a :: <a href="#"
- >*</a
- >) <a href="#"
- >&gt;&lt;</a
- > b = <a href="#"
- >Empty</a
- ></li
- ><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >E</a
- > :: <span class="keyword"
- >forall</span
- > k a (b :: k). <a href="#"
- >(&gt;&lt;)</a
- > k a b</li
- ><li class="src short"
- ><span class="keyword"
- >pattern</span
- > <a href="#"
- >PatWithExplicitSig</a
- > :: <a href="#"
- >Eq</a
- > somex =&gt; somex -&gt; <a href="#"
- >FooType</a
- > somex</li
- ></ul
+ ><span class="keyword"
+ >data</span
+ > <a href="#"
+ >FooType</a
+ > x = <a href="#"
+ >FooCtor</a
+ > x</li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >Foo</a
+ > :: <span class="keyword"
+ >forall</span
+ > x. x -&gt; <a href="#"
+ >FooType</a
+ > x</li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >Bar</a
+ > :: <span class="keyword"
+ >forall</span
+ > x. x -&gt; <a href="#"
+ >FooType</a
+ > (<a href="#"
+ >FooType</a
+ > x)</li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >(:&lt;-&gt;)</a
+ > :: <span class="keyword"
+ >forall</span
+ > x x1. x -&gt; x1 -&gt; (<a href="#"
+ >FooType</a
+ > x, <a href="#"
+ >FooType</a
+ > (<a href="#"
+ >FooType</a
+ > x1))</li
+ ><li class="src short"
+ ><span class="keyword"
+ >data</span
+ > <a href="#"
+ >BlubType</a
+ > = <a href="#"
+ >Show</a
+ > x =&gt; <a href="#"
+ >BlubCtor</a
+ > x</li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >Blub</a
+ > :: () =&gt; <span class="keyword"
+ >forall</span
+ > x. <a href="#"
+ >Show</a
+ > x =&gt; x -&gt; <a href="#"
+ >BlubType</a
+ ></li
+ ><li class="src short"
+ ><span class="keyword"
+ >data</span
+ > (a :: <a href="#"
+ >*</a
+ >) <a href="#"
+ >&gt;&lt;</a
+ > b = <a href="#"
+ >Empty</a
+ ></li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >E</a
+ > :: <span class="keyword"
+ >forall</span
+ > k a (b :: k). <a href="#"
+ >(&gt;&lt;)</a
+ > k a b</li
+ ><li class="src short"
+ ><span class="keyword"
+ >pattern</span
+ > <a href="#"
+ >PatWithExplicitSig</a
+ > :: <a href="#"
+ >Eq</a
+ > somex =&gt; somex -&gt; <a href="#"
+ >FooType</a
+ > somex</li
+ ></ul
+ ></details
></div
><div id="interface"
><h1