copyright 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/doc/css/style.css ADDED
@@ -0,0 +1,263 @@
1
+ body {
2
+ padding: 0 20px;
3
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
+ font-size: 13px;
5
+ }
6
+ h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
7
+ h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
8
+ h1.title { margin-bottom: 10px; }
9
+ h1.alphaindex { margin-top: 0; font-size: 22px; }
10
+ h2 {
11
+ padding: 0;
12
+ padding-bottom: 3px;
13
+ border-bottom: 1px #aaa solid;
14
+ font-size: 1.4em;
15
+ margin: 1.8em 0 0.5em;
16
+ }
17
+ .clear { clear: both; }
18
+ .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
19
+ .docstring h1 { font-size: 1.2em; }
20
+ .docstring h2 { font-size: 1.1em; }
21
+ .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
22
+
23
+ .note {
24
+ color: #222;
25
+ -moz-border-radius: 3px; -webkit-border-radius: 3px;
26
+ background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
27
+ }
28
+ .note.todo { background: #ffffc5; border-color: #ececaa; }
29
+ .note.returns_void { background: #efefef; }
30
+ .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
31
+ .note.title { text-transform: lowercase; padding: 1px 5px; margin-left: 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; }
32
+ h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
33
+ .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
34
+ .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
35
+ .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
36
+ .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
37
+
38
+ h3.inherited {
39
+ font-style: italic;
40
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
41
+ font-weight: normal;
42
+ padding: 0;
43
+ margin: 0;
44
+ margin-top: 12px;
45
+ margin-bottom: 3px;
46
+ font-size: 13px;
47
+ }
48
+ p.inherited {
49
+ padding: 0;
50
+ margin: 0;
51
+ margin-left: 25px;
52
+ }
53
+
54
+ dl.box {
55
+ width: 520px;
56
+ font-size: 1em;
57
+ }
58
+ dl.box dt {
59
+ float: left;
60
+ display: block;
61
+ width: 100px;
62
+ margin: 0;
63
+ text-align: right;
64
+ font-weight: bold;
65
+ border: 1px solid #aaa;
66
+ border-width: 1px 0px 0px 1px;
67
+ padding: 6px 0;
68
+ padding-right: 10px;
69
+ }
70
+ dl.box dd {
71
+ float: left;
72
+ display: block;
73
+ width: 380px;
74
+ margin: 0;
75
+ padding: 6px 0;
76
+ padding-right: 20px;
77
+ border: 1px solid #aaa;
78
+ border-width: 1px 1px 0 0;
79
+ }
80
+ dl.box .last {
81
+ border-bottom: 1px solid #aaa;
82
+ }
83
+ dl.box .r1 { background: #eee; }
84
+
85
+ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
86
+ #files { padding-left: 15px; font-size: 1.1em; }
87
+
88
+ #files { padding: 0; }
89
+ #files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
90
+
91
+ dl.constants { margin-left: 40px; }
92
+ dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
93
+ dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
94
+
95
+ .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
96
+ .summary_desc tt { font-size: 0.9em; }
97
+ dl.constants .summary_desc { font-size: 0.9em; font-weight: normal; }
98
+
99
+ .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
100
+ .method_details.first { border: 0; }
101
+ p.signature {
102
+ font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
103
+ padding: 6px 10px; margin-top: 18px;
104
+ background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
105
+ }
106
+ p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
107
+ p.signature .overload { display: block; }
108
+ p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
109
+ p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
110
+ p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
111
+
112
+ .tags h3 { font-size: 1em; margin-bottom: 0; }
113
+ .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
114
+ .tags ul li { margin-bottom: 3px; }
115
+ .tags ul .name { font-family: monospace; font-weight: bold; }
116
+ .tags ul p.note { padding: 3px 6px; }
117
+ .tags { margin-bottom: 12px; }
118
+
119
+ .tags .examples h3 { margin-bottom: 10px; }
120
+ .tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
121
+
122
+ .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
123
+ .tags .overload .overload_item .signature {
124
+ padding: 2px 8px;
125
+ background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
126
+ }
127
+ .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
128
+ .tags .overload .docstring { margin-top: 15px; }
129
+
130
+ .defines { display: none; }
131
+
132
+ #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
133
+
134
+ .showSource { font-size: 0.9em; }
135
+ .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
136
+
137
+ #content a:link, #content a:visited { text-decoration: none; color: #05a; }
138
+ #content a:hover { background: #ffffa5; }
139
+ .docstring { margin-right: 6em; }
140
+
141
+ ul.summary {
142
+ list-style: none;
143
+ font-family: monospace;
144
+ font-size: 1em;
145
+ line-height: 1.5em;
146
+ }
147
+ ul.summary a:link, ul.summary a:visited {
148
+ text-decoration: none; font-size: 1.1em;
149
+ }
150
+ ul.summary li { margin-bottom: 5px; }
151
+ .summary .summary_signature {
152
+ padding: 1px 10px;
153
+ background: #eaeaff; border: 1px solid #dfdfe5;
154
+ -moz-border-radius: 3px; -webkit-border-radius: 3px;
155
+ }
156
+ .summary_signature:hover { background: #eeeeff; cursor: pointer; }
157
+ #content .summary_signature:hover a:link,
158
+ #content .summary_signature:hover a:visited {
159
+ background: transparent;
160
+ color: #48f;
161
+ }
162
+
163
+ p.inherited a { font-family: monospace; font-size: 0.9em; }
164
+ p.inherited { word-spacing: 5px; font-size: 1.2em; }
165
+
166
+ p.children { font-size: 1.2em; }
167
+ p.children a { font-size: 0.9em; }
168
+ p.children strong { font-size: 0.8em; }
169
+ p.children strong.modules { padding-left: 5px; }
170
+
171
+ ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
172
+ ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
173
+ ul.fullTree li { text-align: center; }
174
+ ul.fullTree li.next:before { font-size: 1.2em; content: '\2B06'; color: #bbb; display: block; margin-top: 3px; }
175
+
176
+ #search { position: absolute; right: 14px; top: 0px; }
177
+ #search a:link, #search a:visited {
178
+ display: block; float: left; margin-right: 4px;
179
+ padding: 8px 10px; text-decoration: none; color: #05a; background: #eaeaff;
180
+ border: 1px solid #d8d8e5;
181
+ -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
182
+ -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
183
+ }
184
+ #search a:hover { background: #eef; color: #06b; }
185
+ #search a.active {
186
+ background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
187
+ -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
188
+ -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
189
+ }
190
+ #search a.inactive { color: #999; }
191
+ .inheritanceTree, .toggleDefines { float: right; }
192
+
193
+ #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
194
+ #menu .title, #menu a { font-size: 0.7em; }
195
+ #menu .title { color: #555; }
196
+ #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
197
+ #menu a:hover { color: #05a; }
198
+
199
+ #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
200
+ #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
201
+ #footer a:hover { color: #05a; }
202
+
203
+ #listing ul.alpha { font-size: 1.1em; }
204
+ #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
205
+ #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
206
+ #listing ul.alpha ul { margin: 0; padding: 0; }
207
+ #listing ul small { color: #666; font-size: 0.7em; }
208
+
209
+ li.r1 { background: #f0f0f0; }
210
+ li.r2 { background: #fafafa; }
211
+
212
+ #search_frame {
213
+ background: #fff;
214
+ display: none;
215
+ position: absolute;
216
+ top: 36px;
217
+ right: 18px;
218
+ width: 500px;
219
+ height: 80%;
220
+ overflow-y: scroll;
221
+ border: 1px solid #999;
222
+ border-collapse: collapse;
223
+ -webkit-box-shadow: -2px 5px 25px #aaa;
224
+ -moz-box-shadow: -2px 5px 25px #aaa;
225
+ -moz-border-radius: 2px;
226
+ -webkit-border-radius: 2px;
227
+ }
228
+
229
+ #content ul.summary li.deprecated a:link,
230
+ #content ul.summary li.deprecated a:visited { text-decoration: line-through; font-style: italic; }
231
+
232
+ /* syntax highlighting */
233
+ .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
234
+ #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
235
+ #filecontents pre.code, .docstring pre.code { display: block; }
236
+ .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
237
+ #filecontents pre.code, .docstring pre.code,
238
+ .tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
239
+ pre.code { color: #000; }
240
+ pre.code .info.file { color: #555; }
241
+ pre.code .val { color: #036A07; }
242
+ pre.code .tstring_content,
243
+ pre.code .heredoc_beg, pre.code .heredoc_end,
244
+ pre.code .qwords_beg, pre.code .qwords_end,
245
+ pre.code .tstring, pre.code .dstring { color: #036A07; }
246
+ pre.code .fid, pre.code .id.new, pre.code .id.to_s,
247
+ pre.code .id.to_sym, pre.code .id.to_f,
248
+ pre.code .dot + pre.code .id,
249
+ pre.code .id.to_i pre.code .id.each { color: #0085FF; }
250
+ pre.code .comment { color: #0066FF; }
251
+ pre.code .const, pre.code .constant { color: #585CF6; }
252
+ pre.code .symbol { color: #C5060B; }
253
+ pre.code .kw,
254
+ pre.code .label,
255
+ pre.code .id.require,
256
+ pre.code .id.extend,
257
+ pre.code .id.include { color: #0000FF; }
258
+ pre.code .ivar { color: #318495; }
259
+ pre.code .gvar,
260
+ pre.code .id.backref,
261
+ pre.code .id.nth_ref { color: #6D79DE; }
262
+ pre.code .regexp, .dregexp { color: #036A07; }
263
+
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>Documentation by YARD 0.5.2</title>
7
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <div id="header">
20
+ <div id="menu">
21
+
22
+ <a href="_index.html" title="Index">Index</a> &raquo;
23
+ <span class="title">File: README</span>
24
+
25
+ </div>
26
+
27
+ <div id="search">
28
+ <a id="class_list_link" href="#">Namespace List</a>
29
+ <a id="method_list_link" href="#">Method List</a>
30
+ <a id ="file_list_link" href="#">File List</a>
31
+ </div>
32
+
33
+ <div class="clear"></div>
34
+ </div>
35
+
36
+ <iframe id="search_frame"></iframe>
37
+
38
+ <div id="content"><div id='filecontents'><h1 id='copyright'>Copyright</h1>
39
+
40
+ <p>Ruby on Rails plugin to add a helper method for copyright period</p>
41
+
42
+ <h2 id='usage'>Usage</h2>
43
+
44
+ <pre class="code"><span class='require identifier id'>require</span> <span class='string val'>'rubygems'</span>
45
+ <span class='require identifier id'>require</span> <span class='string val'>'copyright'</span>
46
+ <span class='include identifier id'>include</span> <span class='CopyrightYears constant id'>CopyrightYears</span>
47
+ </pre>
48
+
49
+ <h2 id='author'>Author</h2>
50
+
51
+ <ul>
52
+ <li>Takaaki Kato <a href='mailto:takaaki.kato@gmail.com'>&#116;&#097;&#107;&#097;&#097;&#107;&#105;&#046;&#107;&#097;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a></li>
53
+ </ul>
54
+
55
+ <h2 id='copyright'>Copyright</h2>
56
+
57
+ <p>Copyright (c) 2009 Takaaki Kato. See LICENSE for details.</p></div></div>
58
+
59
+ <div id="footer">
60
+ Generated on Mon Dec 28 05:44:10 2009 by
61
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
62
+ 0.5.2 (ruby-1.8.7).
63
+ </div>
64
+
65
+ </body>
66
+ </html>
@@ -0,0 +1,29 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
9
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
10
+ <base target="_parent" />
11
+ </head>
12
+ <body>
13
+ <h1 id="full_list_header">File List</h1>
14
+ <div id="search">Search: <input type="text" /></div>
15
+ <div class="clear"></div>
16
+ <ul id="full_list">
17
+
18
+
19
+ <li class="r1 ">
20
+
21
+ <a href="index.html" title="README">README</a>
22
+
23
+
24
+ </li>
25
+
26
+ </ul>
27
+ </body>
28
+ </html>
29
+
data/doc/index.html ADDED
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>Documentation by YARD 0.5.2</title>
7
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <div id="header">
20
+ <div id="menu">
21
+
22
+ <a href="_index.html" title="Index">Index</a> &raquo;
23
+ <span class="title">File: README</span>
24
+
25
+ </div>
26
+
27
+ <div id="search">
28
+ <a id="class_list_link" href="#">Namespace List</a>
29
+ <a id="method_list_link" href="#">Method List</a>
30
+ <a id ="file_list_link" href="#">File List</a>
31
+ </div>
32
+
33
+ <div class="clear"></div>
34
+ </div>
35
+
36
+ <iframe id="search_frame"></iframe>
37
+
38
+ <div id="content"><div id='filecontents'><h1 id='copyright'>Copyright</h1>
39
+
40
+ <p>Ruby on Rails plugin to add a helper method for copyright period</p>
41
+
42
+ <h2 id='usage'>Usage</h2>
43
+
44
+ <pre class="code"><span class='require identifier id'>require</span> <span class='string val'>'rubygems'</span>
45
+ <span class='require identifier id'>require</span> <span class='string val'>'copyright'</span>
46
+ <span class='include identifier id'>include</span> <span class='CopyrightYears constant id'>CopyrightYears</span>
47
+ </pre>
48
+
49
+ <h2 id='author'>Author</h2>
50
+
51
+ <ul>
52
+ <li>Takaaki Kato <a href='mailto:takaaki.kato@gmail.com'>&#116;&#097;&#107;&#097;&#097;&#107;&#105;&#046;&#107;&#097;&#116;&#111;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a></li>
53
+ </ul>
54
+
55
+ <h2 id='copyright'>Copyright</h2>
56
+
57
+ <p>Copyright (c) 2009 Takaaki Kato. See LICENSE for details.</p></div></div>
58
+
59
+ <div id="footer">
60
+ Generated on Mon Dec 28 05:44:10 2009 by
61
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
62
+ 0.5.2 (ruby-1.8.7).
63
+ </div>
64
+
65
+ </body>
66
+ </html>
data/doc/js/app.js ADDED
@@ -0,0 +1,91 @@
1
+ function createSourceLinks() {
2
+ $('.method_details_list .source_code').
3
+ before("<span class='showSource'>[<a href='#' class='toggleSource'>View source</a>]</span>");
4
+ $('.toggleSource').toggle(function() {
5
+ $(this).parent().next().slideDown(100);
6
+ $(this).text("Hide source");
7
+ },
8
+ function() {
9
+ $(this).parent().next().slideUp(100);
10
+ $(this).text("View source");
11
+ });
12
+ }
13
+
14
+ function createDefineLinks() {
15
+ var tHeight = 0;
16
+ $('.defines').after(" <a href='#' class='toggleDefines'>more...</a>");
17
+ $('.toggleDefines').toggle(function() {
18
+ tHeight = $(this).parent().prev().height();
19
+ $(this).prev().show();
20
+ $(this).parent().prev().height($(this).parent().height());
21
+ $(this).text("(less)");
22
+ },
23
+ function() {
24
+ $(this).prev().hide();
25
+ $(this).parent().prev().height(tHeight);
26
+ $(this).text("more...")
27
+ });
28
+ }
29
+
30
+ function createFullTreeLinks() {
31
+ var tHeight = 0;
32
+ $('.inheritanceTree').toggle(function() {
33
+ tHeight = $(this).parent().prev().height();
34
+ $(this).prev().prev().hide();
35
+ $(this).prev().show();
36
+ $(this).text("(hide)");
37
+ $(this).parent().prev().height($(this).parent().height());
38
+ },
39
+ function() {
40
+ $(this).prev().prev().show();
41
+ $(this).prev().hide();
42
+ $(this).parent().prev().height(tHeight);
43
+ $(this).text("show all")
44
+ });
45
+ }
46
+
47
+ function fixBoxInfoHeights() {
48
+ $('dl.box dd.r1, dl.box dd.r2').each(function() {
49
+ $(this).prev().height($(this).height());
50
+ });
51
+ }
52
+
53
+ function searchFrameLinks() {
54
+ $('#method_list_link').click(function() {
55
+ toggleSearchFrame(this, relpath + 'method_list.html');
56
+ });
57
+
58
+ $('#class_list_link').click(function() {
59
+ toggleSearchFrame(this, relpath + 'class_list.html');
60
+ });
61
+
62
+ $('#file_list_link').click(function() {
63
+ toggleSearchFrame(this, relpath + 'file_list.html');
64
+ });
65
+ }
66
+
67
+ function toggleSearchFrame(id, link) {
68
+ var frame = $('#search_frame');
69
+ $('#search a').removeClass('active').addClass('inactive');
70
+ if (frame.attr('src') == link && frame.css('display') != "none") {
71
+ frame.slideUp(100);
72
+ $('#search a').removeClass('active inactive');
73
+ }
74
+ else {
75
+ $(id).addClass('active').removeClass('inactive');
76
+ frame.attr('src', link).slideDown(100);
77
+ }
78
+ }
79
+
80
+ function linkSummaries() {
81
+ $('.summary_signature').click(function() {
82
+ window.parent.location = $(this).find('a').attr('href');
83
+ });
84
+ }
85
+
86
+ $(createSourceLinks);
87
+ $(createDefineLinks);
88
+ $(createFullTreeLinks);
89
+ $(fixBoxInfoHeights);
90
+ $(searchFrameLinks);
91
+ $(linkSummaries);
@@ -0,0 +1,39 @@
1
+ function fullListSearch() {
2
+ $('#search input').keyup(function() {
3
+ var value = this.value.toLowerCase();
4
+ if (value == "") {
5
+ $('#full_list li').show();
6
+ }
7
+ else {
8
+ $('#full_list li').each(function() {
9
+ if ($(this).children('a').text().toLowerCase().indexOf(value) == -1) {
10
+ $(this).hide();
11
+ }
12
+ else {
13
+ $(this).show();
14
+ }
15
+ });
16
+ }
17
+ $('#full_list li:even:visible').removeClass('r2').addClass('r1');
18
+ $('#full_list li:odd:visible').removeClass('r1').addClass('r2');
19
+
20
+ if ($('#full_list li:visible').size() == 0) {
21
+ $('#noresults').fadeIn();
22
+ }
23
+ else {
24
+ $('#noresults').hide();
25
+ }
26
+ });
27
+
28
+ $('#search input').focus();
29
+ $('#full_list').after("<div id='noresults'>No results were found.</div>")
30
+ }
31
+
32
+ function linkList() {
33
+ $('#full_list li').click(function() {
34
+ window.parent.location = $(this).find('a').attr('href');
35
+ });
36
+ }
37
+
38
+ $(fullListSearch);
39
+ $(linkList);