-
Notifications
You must be signed in to change notification settings - Fork 5
/
symbolindex.tmpl
90 lines (76 loc) · 2.97 KB
/
symbolindex.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
<title>JsDoc Reference - Index</title>
<meta name="generator" content="JsDoc Toolkit" />
<link rel="stylesheet" href="static/{+JSDOC.opt.D.cssFile+}" type="text/css" media="screen" charset="utf-8" />
<style>
#symbolFilter {
margin-top: 2em;
margin-bottom: 1em;
}
.hidden {
visibility: hidden;
display: none;
}
</style>
<script>
var overview, filterField;
function filterOverview() {
var i, name,
lst = overview.getElementsByTagName('tr'),
regex = filterField.value ? ('^(' + filterField.value + ')') : '.*';
regex = new RegExp(regex, 'i');
for (i = 0; i < lst.length; i++) {
name = lst[i].getElementsByTagName('td')[0].innerHTML;
if (regex.test(name)) {
lst[i].className = 'symbolEntry';
} else {
lst[i].className = 'symbolEntry hidden';
}
}
}
var init = function() {
overview = window.document.getElementById('symbolOverview');
filterField = window.document.getElementById('symbolFilter');
filterField.addEventListener('change', filterOverview, false);
filterOverview();
delete init;
}
</script>
</head>
<body onload="init()">
{+include("header.html")+}
<div id="index">
<div id="docs">
{+publish.docsIndex+}
</div>
{+publish.classesIndex+}
</div>
<div id="content">
<h1 id="classTitle">Symbol Index</h1>
<div>
<input id="symbolFilter" type="text" /><br />
<table id="symbolOverview">
<for each="symbol" in="data">
<tr class="symbolEntry">
<td class="symbolName">{+symbol.name+}</td>
<td>
<for each="entry" in="symbol.symbols">
{+new Link().toSymbol(entry.alias)+}
</for>
</td>
</tr>
</for>
</table>
</div>
<hr />
</div>
<div class="fineprint" style="clear:both;text-align:center">
<if test="JSDOC.opt.D.copyright">©{+JSDOC.opt.D.copyright+}<br /></if>
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
</div>
</body>
</html>