closure 1.4.3 → 1.5.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.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +12 -12
  3. data/closure-compiler/README.md +503 -0
  4. data/closure-compiler/compiler.jar +0 -0
  5. data/closure-templates/SoyToJsSrcCompiler.jar +0 -0
  6. data/closure-templates/soyutils.js +1593 -469
  7. data/closure-templates/soyutils_usegoog.js +1105 -223
  8. data/docs/SCRIPT.md +5 -5
  9. data/docs/closure/Closure/BeanShell.html +63 -54
  10. data/docs/closure/Closure/Compiler/Compilation.html +124 -107
  11. data/docs/closure/Closure/Compiler/Error.html +28 -21
  12. data/docs/closure/Closure/Compiler.html +81 -76
  13. data/docs/closure/Closure/FileResponse.html +113 -98
  14. data/docs/closure/Closure/Goog.html +264 -253
  15. data/docs/closure/Closure/Middleware.html +66 -55
  16. data/docs/closure/Closure/Script/NotFound.html +28 -21
  17. data/docs/closure/Closure/Script/RenderStackOverflow.html +28 -21
  18. data/docs/closure/Closure/Script.html +212 -203
  19. data/docs/closure/Closure/Server.html +100 -90
  20. data/docs/closure/Closure/ShowExceptions.html +63 -52
  21. data/docs/closure/Closure/Sources.html +254 -246
  22. data/docs/closure/Closure/Templates/Error.html +28 -21
  23. data/docs/closure/Closure/Templates.html +88 -80
  24. data/docs/closure/Closure.html +181 -163
  25. data/docs/closure/_index.html +42 -38
  26. data/docs/closure/class_list.html +19 -8
  27. data/docs/closure/css/full_list.css +4 -2
  28. data/docs/closure/css/style.css +68 -51
  29. data/docs/closure/file.LICENSE.html +24 -217
  30. data/docs/closure/file.README.html +54 -47
  31. data/docs/closure/file_list.html +20 -9
  32. data/docs/closure/frames.html +18 -5
  33. data/docs/closure/index.html +54 -47
  34. data/docs/closure/js/app.js +60 -46
  35. data/docs/closure/js/full_list.js +24 -10
  36. data/docs/closure/js/jquery.js +4 -16
  37. data/docs/closure/method_list.html +74 -175
  38. data/docs/closure/top-level-namespace.html +29 -20
  39. data/lib/closure/compiler.rb +32 -42
  40. data/lib/closure/goog.rb +12 -12
  41. data/lib/closure/server.rb +6 -6
  42. data/lib/closure/show_exceptions.rb +15 -12
  43. data/lib/closure/version.rb +1 -1
  44. data/scripts/git.erb +183 -0
  45. data/scripts/hello/compiler.js.erb +2 -2
  46. data/scripts/hello/hello.js +1 -1
  47. data/scripts/hello/index.erb +6 -0
  48. data/scripts/hello/legume.js +12 -7
  49. data/scripts/index.erb +15 -13
  50. data/scripts/modules/compiler.js.erb +3 -3
  51. data/scripts/modules/compiler_build.js +3 -3
  52. data/scripts/modules/compiler_build.map +13 -12159
  53. data/scripts/modules/compiler_build_api.js +1 -1
  54. data/scripts/modules/compiler_build_app.js +74 -71
  55. data/scripts/modules/compiler_build_settings.js +2 -2
  56. data/scripts/modules/index.erb +5 -3
  57. data/scripts/modules/settings.js +1 -1
  58. data/scripts/svn.erb +11 -11
  59. data/scripts/welcome.erb +7 -6
  60. metadata +65 -81
  61. data/closure-compiler/README +0 -292
  62. data/scripts/hello/compiler_build.js +0 -5
  63. data/scripts/hello/compiler_build.map +0 -748
  64. data/scripts/hello/compiler_debug.js +0 -119
  65. data/scripts/modules/compiler_debug.js +0 -6
  66. data/scripts/modules/compiler_debug_api.js +0 -11
  67. data/scripts/modules/compiler_debug_app.js +0 -2414
  68. data/scripts/modules/compiler_debug_settings.js +0 -39
  69. data/scripts/rails/index.erb +0 -46
  70. data/scripts/rails/rails_ujs.js +0 -96
@@ -4,19 +4,21 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.7.3
7
+ Documentation by YARD 0.8.7.6
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
14
 
15
15
  <script type="text/javascript" charset="utf-8">
16
+ hasFrames = window.top.frames.main ? true : false;
16
17
  relpath = '';
17
- if (relpath != '') relpath += '/';
18
+ framesUrl = "frames.html#!_index.html";
18
19
  </script>
19
20
 
21
+
20
22
  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
21
23
 
22
24
  <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
@@ -24,40 +26,42 @@
24
26
 
25
27
  </head>
26
28
  <body>
27
- <script type="text/javascript" charset="utf-8">
28
- if (window.top.frames.main) document.body.className = 'frames';
29
- </script>
30
-
31
29
  <div id="header">
32
30
  <div id="menu">
33
31
 
34
-
35
- <span class="title"></span>
36
-
37
-
32
+
38
33
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
34
  </div>
40
35
 
41
36
  <div id="search">
42
37
 
43
- <a id="class_list_link" href="#">Class List</a>
38
+ <a class="full_list_link" id="class_list_link"
39
+ href="class_list.html">
40
+ Class List
41
+ </a>
44
42
 
45
- <a id="method_list_link" href="#">Method List</a>
43
+ <a class="full_list_link" id="method_list_link"
44
+ href="method_list.html">
45
+ Method List
46
+ </a>
46
47
 
47
- <a id="file_list_link" href="#">File List</a>
48
+ <a class="full_list_link" id="file_list_link"
49
+ href="file_list.html">
50
+ File List
51
+ </a>
48
52
 
49
53
  </div>
50
54
  <div class="clear"></div>
51
55
  </div>
52
-
56
+
53
57
  <iframe id="search_frame"></iframe>
54
-
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.7.3</h1>
58
+
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
56
60
  <div id="listing">
57
61
  <h1 class="alphaindex">Alphabetic Index</h1>
58
62
 
59
63
  <h2>File Listing</h2>
60
- <ul id="files">
64
+ <ul id="files" class="index_inline_list">
61
65
 
62
66
 
63
67
  <li class="r1"><a href="index.html" title="README">README</a></li>
@@ -84,7 +88,7 @@
84
88
  <ul>
85
89
 
86
90
  <li>
87
- <span class='object_link'><a href="Closure/BeanShell.html" title="Closure::BeanShell (class)">BeanShell</a></span>
91
+ <span class='object_link'><a href="Closure/BeanShell.html" title="Closure::BeanShell (class)">BeanShell</a></span>
88
92
 
89
93
  <small>(Closure)</small>
90
94
 
@@ -99,19 +103,19 @@
99
103
  <ul>
100
104
 
101
105
  <li>
102
- <span class='object_link'><a href="Closure.html" title="Closure (class)">Closure</a></span>
106
+ <span class='object_link'><a href="Closure.html" title="Closure (class)">Closure</a></span>
103
107
 
104
108
  </li>
105
109
 
106
110
  <li>
107
- <span class='object_link'><a href="Closure/Compiler/Compilation.html" title="Closure::Compiler::Compilation (class)">Compilation</a></span>
111
+ <span class='object_link'><a href="Closure/Compiler/Compilation.html" title="Closure::Compiler::Compilation (class)">Compilation</a></span>
108
112
 
109
113
  <small>(Closure::Compiler)</small>
110
114
 
111
115
  </li>
112
116
 
113
117
  <li>
114
- <span class='object_link'><a href="Closure/Compiler.html" title="Closure::Compiler (class)">Compiler</a></span>
118
+ <span class='object_link'><a href="Closure/Compiler.html" title="Closure::Compiler (class)">Compiler</a></span>
115
119
 
116
120
  <small>(Closure)</small>
117
121
 
@@ -126,14 +130,14 @@
126
130
  <ul>
127
131
 
128
132
  <li>
129
- <span class='object_link'><a href="Closure/Templates/Error.html" title="Closure::Templates::Error (class)">Error</a></span>
133
+ <span class='object_link'><a href="Closure/Templates/Error.html" title="Closure::Templates::Error (class)">Error</a></span>
130
134
 
131
135
  <small>(Closure::Templates)</small>
132
136
 
133
137
  </li>
134
138
 
135
139
  <li>
136
- <span class='object_link'><a href="Closure/Compiler/Error.html" title="Closure::Compiler::Error (class)">Error</a></span>
140
+ <span class='object_link'><a href="Closure/Compiler/Error.html" title="Closure::Compiler::Error (class)">Error</a></span>
137
141
 
138
142
  <small>(Closure::Compiler)</small>
139
143
 
@@ -148,7 +152,7 @@
148
152
  <ul>
149
153
 
150
154
  <li>
151
- <span class='object_link'><a href="Closure/FileResponse.html" title="Closure::FileResponse (class)">FileResponse</a></span>
155
+ <span class='object_link'><a href="Closure/FileResponse.html" title="Closure::FileResponse (class)">FileResponse</a></span>
152
156
 
153
157
  <small>(Closure)</small>
154
158
 
@@ -163,7 +167,7 @@
163
167
  <ul>
164
168
 
165
169
  <li>
166
- <span class='object_link'><a href="Closure/Goog.html" title="Closure::Goog (class)">Goog</a></span>
170
+ <span class='object_link'><a href="Closure/Goog.html" title="Closure::Goog (class)">Goog</a></span>
167
171
 
168
172
  <small>(Closure)</small>
169
173
 
@@ -178,7 +182,7 @@
178
182
  <ul>
179
183
 
180
184
  <li>
181
- <span class='object_link'><a href="Closure/Middleware.html" title="Closure::Middleware (class)">Middleware</a></span>
185
+ <span class='object_link'><a href="Closure/Middleware.html" title="Closure::Middleware (class)">Middleware</a></span>
182
186
 
183
187
  <small>(Closure)</small>
184
188
 
@@ -193,7 +197,7 @@
193
197
  <ul>
194
198
 
195
199
  <li>
196
- <span class='object_link'><a href="Closure/Script/NotFound.html" title="Closure::Script::NotFound (class)">NotFound</a></span>
200
+ <span class='object_link'><a href="Closure/Script/NotFound.html" title="Closure::Script::NotFound (class)">NotFound</a></span>
197
201
 
198
202
  <small>(Closure::Script)</small>
199
203
 
@@ -211,7 +215,7 @@
211
215
  <ul>
212
216
 
213
217
  <li>
214
- <span class='object_link'><a href="Closure/Script/RenderStackOverflow.html" title="Closure::Script::RenderStackOverflow (class)">RenderStackOverflow</a></span>
218
+ <span class='object_link'><a href="Closure/Script/RenderStackOverflow.html" title="Closure::Script::RenderStackOverflow (class)">RenderStackOverflow</a></span>
215
219
 
216
220
  <small>(Closure::Script)</small>
217
221
 
@@ -226,28 +230,28 @@
226
230
  <ul>
227
231
 
228
232
  <li>
229
- <span class='object_link'><a href="Closure/Script.html" title="Closure::Script (class)">Script</a></span>
233
+ <span class='object_link'><a href="Closure/Script.html" title="Closure::Script (class)">Script</a></span>
230
234
 
231
235
  <small>(Closure)</small>
232
236
 
233
237
  </li>
234
238
 
235
239
  <li>
236
- <span class='object_link'><a href="Closure/Server.html" title="Closure::Server (class)">Server</a></span>
240
+ <span class='object_link'><a href="Closure/Server.html" title="Closure::Server (class)">Server</a></span>
237
241
 
238
242
  <small>(Closure)</small>
239
243
 
240
244
  </li>
241
245
 
242
246
  <li>
243
- <span class='object_link'><a href="Closure/ShowExceptions.html" title="Closure::ShowExceptions (class)">ShowExceptions</a></span>
247
+ <span class='object_link'><a href="Closure/ShowExceptions.html" title="Closure::ShowExceptions (class)">ShowExceptions</a></span>
244
248
 
245
249
  <small>(Closure)</small>
246
250
 
247
251
  </li>
248
252
 
249
253
  <li>
250
- <span class='object_link'><a href="Closure/Sources.html" title="Closure::Sources (class)">Sources</a></span>
254
+ <span class='object_link'><a href="Closure/Sources.html" title="Closure::Sources (class)">Sources</a></span>
251
255
 
252
256
  <small>(Closure)</small>
253
257
 
@@ -262,7 +266,7 @@
262
266
  <ul>
263
267
 
264
268
  <li>
265
- <span class='object_link'><a href="Closure/Templates.html" title="Closure::Templates (class)">Templates</a></span>
269
+ <span class='object_link'><a href="Closure/Templates.html" title="Closure::Templates (class)">Templates</a></span>
266
270
 
267
271
  <small>(Closure)</small>
268
272
 
@@ -278,11 +282,11 @@
278
282
  </div>
279
283
 
280
284
  </div>
281
-
285
+
282
286
  <div id="footer">
283
- Generated on Sun Oct 23 22:43:16 2011 by
287
+ Generated on Sun Mar 20 12:44:16 2016 by
284
288
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
285
- 0.7.3 (ruby-1.9.2).
289
+ 0.8.7.6 (ruby-2.2.1).
286
290
  </div>
287
291
 
288
292
  </body>
@@ -8,18 +8,23 @@
8
8
 
9
9
  <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
10
 
11
-
11
+
12
12
 
13
13
  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
14
 
15
15
  <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
16
 
17
-
17
+
18
+ <title>Class List</title>
18
19
  <base id="base_target" target="_parent" />
19
20
  </head>
20
21
  <body>
21
22
  <script type="text/javascript" charset="utf-8">
22
- if (window.top.frames.main) {
23
+ var hasFrames = false;
24
+ try {
25
+ hasFrames = window.top.frames.main ? true : false;
26
+ } catch (e) { }
27
+ if (hasFrames) {
23
28
  document.getElementById('base_target').target = 'main';
24
29
  document.body.className = 'frames';
25
30
  }
@@ -28,18 +33,24 @@
28
33
  <h1 id="full_list_header">Class List</h1>
29
34
  <div id="nav">
30
35
 
31
- <a target="_self" href="class_list.html">Classes</a>
36
+ <span><a target="_self" href="class_list.html">
37
+ Classes
38
+ </a></span>
32
39
 
33
- <a target="_self" href="method_list.html">Methods</a>
40
+ <span><a target="_self" href="method_list.html">
41
+ Methods
42
+ </a></span>
34
43
 
35
- <a target="_self" href="file_list.html">Files</a>
44
+ <span><a target="_self" href="file_list.html">
45
+ Files
46
+ </a></span>
36
47
 
37
48
  </div>
38
49
  <div id="search">Search: <input type="text" /></div>
39
50
 
40
51
  <ul id="full_list" class="class">
41
- <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
42
- <li><a class='toggle'></a> <span class='object_link'><a href="Closure.html" title="Closure (class)">Closure</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Closure/BeanShell.html" title="Closure::BeanShell (class)">BeanShell</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Compiler.html" title="Closure::Compiler (class)">Compiler</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Compiler/Compilation.html" title="Closure::Compiler::Compilation (class)">Compilation</a></span> &lt; Object<small class='search_info'>Closure::Compiler</small></li><li><span class='object_link'><a href="Closure/Compiler/Error.html" title="Closure::Compiler::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>Closure::Compiler</small></li></ul><li><span class='object_link'><a href="Closure/FileResponse.html" title="Closure::FileResponse (class)">FileResponse</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/Goog.html" title="Closure::Goog (class)">Goog</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/Middleware.html" title="Closure::Middleware (class)">Middleware</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Script.html" title="Closure::Script (class)">Script</a></span> &lt; Request<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Script/NotFound.html" title="Closure::Script::NotFound (class)">NotFound</a></span> &lt; StandardError<small class='search_info'>Closure::Script</small></li><li><span class='object_link'><a href="Closure/Script/RenderStackOverflow.html" title="Closure::Script::RenderStackOverflow (class)">RenderStackOverflow</a></span> &lt; StandardError<small class='search_info'>Closure::Script</small></li></ul><li><span class='object_link'><a href="Closure/Server.html" title="Closure::Server (class)">Server</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/ShowExceptions.html" title="Closure::ShowExceptions (class)">ShowExceptions</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul></ul><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Sources.html" title="Closure::Sources (class)">Sources</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul></ul><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Templates.html" title="Closure::Templates (class)">Templates</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Templates/Error.html" title="Closure::Templates::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>Closure::Templates</small></li></ul></ul>
52
+ <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
53
+ <li><a class='toggle'></a> <span class='object_link'><a href="Closure.html" title="Closure (class)">Closure</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Closure/BeanShell.html" title="Closure::BeanShell (class)">BeanShell</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Compiler.html" title="Closure::Compiler (class)">Compiler</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Compiler/Compilation.html" title="Closure::Compiler::Compilation (class)">Compilation</a></span> &lt; Object<small class='search_info'>Closure::Compiler</small></li><li><span class='object_link'><a href="Closure/Compiler/Error.html" title="Closure::Compiler::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>Closure::Compiler</small></li></ul><li><span class='object_link'><a href="Closure/FileResponse.html" title="Closure::FileResponse (class)">FileResponse</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/Goog.html" title="Closure::Goog (class)">Goog</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/Middleware.html" title="Closure::Middleware (class)">Middleware</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Script.html" title="Closure::Script (class)">Script</a></span> &lt; Request<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Script/NotFound.html" title="Closure::Script::NotFound (class)">NotFound</a></span> &lt; StandardError<small class='search_info'>Closure::Script</small></li><li><span class='object_link'><a href="Closure/Script/RenderStackOverflow.html" title="Closure::Script::RenderStackOverflow (class)">RenderStackOverflow</a></span> &lt; StandardError<small class='search_info'>Closure::Script</small></li></ul><li><span class='object_link'><a href="Closure/Server.html" title="Closure::Server (class)">Server</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/ShowExceptions.html" title="Closure::ShowExceptions (class)">ShowExceptions</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><span class='object_link'><a href="Closure/Sources.html" title="Closure::Sources (class)">Sources</a></span> &lt; Object<small class='search_info'>Closure</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Closure/Templates.html" title="Closure::Templates (class)">Templates</a></span> &lt; Object<small class='search_info'>Closure</small></li><ul><li><span class='object_link'><a href="Closure/Templates/Error.html" title="Closure::Templates::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>Closure::Templates</small></li></ul></ul>
43
54
 
44
55
  </ul>
45
56
  </div>
@@ -1,6 +1,6 @@
1
- body {
1
+ body {
2
2
  margin: 0;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
3
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
4
  font-size: 13px;
5
5
  height: 101%;
6
6
  overflow-x: hidden;
@@ -37,6 +37,8 @@ li.collapsed.clicked a.toggle { background-position: top right; }
37
37
  #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
38
38
  #nav a:link, #nav a:visited { color: #358; }
39
39
  #nav a:hover { background: transparent; color: #5af; }
40
+ .frames #nav span:after { content: ' | '; }
41
+ .frames #nav span:last-child:after { content: ''; }
40
42
 
41
43
  .frames #content h1 { margin-top: 0; }
42
44
  .frames li { white-space: nowrap; cursor: normal; }
@@ -1,6 +1,6 @@
1
- body {
1
+ body {
2
2
  padding: 0 20px;
3
- font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
3
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
4
  font-size: 13px;
5
5
  }
6
6
  body.frames { padding: 0 5px; }
@@ -8,7 +8,7 @@ h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dot
8
8
  h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
9
9
  h1.title { margin-bottom: 10px; }
10
10
  h1.alphaindex { margin-top: 0; font-size: 22px; }
11
- h2 {
11
+ h2 {
12
12
  padding: 0;
13
13
  padding-bottom: 3px;
14
14
  border-bottom: 1px #aaa solid;
@@ -27,6 +27,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
27
27
  .rdoc-term { padding-right: 25px; font-weight: bold; }
28
28
  .rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
29
29
 
30
+ /* style for <table> */
31
+ #filecontents table, .docstring table { border-collapse: collapse; }
32
+ #filecontents table th, #filecontents table td,
33
+ .docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
34
+ #filecontents table tr:nth-child(odd),
35
+ .docstring table tr:nth-child(odd) { background: #eee; }
36
+ #filecontents table tr:nth-child(even),
37
+ .docstring table tr:nth-child(even) { background: #fff; }
38
+ #filecontents table th, .docstring table th { background: #fff; }
39
+
30
40
  /* style for <ul> */
31
41
  #filecontents li > p, .docstring li > p { margin: 0px; }
32
42
  #filecontents ul, .docstring ul { padding-left: 20px; }
@@ -36,9 +46,9 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
36
46
  #filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
37
47
  #filecontents dd > p, .docstring dd > p { margin: 0px; }
38
48
 
39
- .note {
49
+ .note {
40
50
  color: #222;
41
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
51
+ -moz-border-radius: 3px; -webkit-border-radius: 3px;
42
52
  background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
43
53
  display: block;
44
54
  }
@@ -46,13 +56,14 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
46
56
  .note.returns_void { background: #efefef; }
47
57
  .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
48
58
  .note.private { background: #ffffc5; border-color: #ececaa; }
49
- .note.title { text-transform: lowercase; padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
59
+ .note.title { padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
50
60
  .summary_signature + .note.title { margin-left: 7px; }
51
61
  h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
52
- .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
53
- .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
54
- .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
62
+ .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
63
+ .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
64
+ .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
55
65
  .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
66
+ .note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
56
67
  .discussion .note { margin-top: 6px; }
57
68
  .discussion .note:first-child { margin-top: 0; }
58
69
 
@@ -106,10 +117,8 @@ p.inherited {
106
117
  #filecontents dl.box .r1, dl.box .r1 { background: #eee; }
107
118
 
108
119
  ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
109
- #files { padding-left: 15px; font-size: 1.1em; }
110
-
111
- #files { padding: 0; }
112
- #files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
120
+ .index_inline_list { padding-left: 0; font-size: 1.1em; }
121
+ .index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
113
122
 
114
123
  dl.constants { margin-left: 40px; }
115
124
  dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
@@ -125,29 +134,36 @@ dl.constants .discussion *:last-child { margin-bottom: 0; }
125
134
 
126
135
  .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
127
136
  .method_details.first { border: 0; }
128
- p.signature {
129
- font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
130
- padding: 6px 10px; margin-top: 18px;
137
+ p.signature, h3.signature {
138
+ font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
139
+ padding: 6px 10px; margin-top: 18px;
131
140
  background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
132
141
  }
133
- p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
134
- p.signature .overload { display: block; }
135
- p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
136
- p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
137
- p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
142
+ p.signature tt,
143
+ h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
144
+ p.signature .overload,
145
+ h3.signature .overload { display: block; }
146
+ p.signature .extras,
147
+ h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
148
+ p.signature .not_defined_here,
149
+ h3.signature .not_defined_here,
150
+ p.signature .aliases,
151
+ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
152
+ p.signature .aliases .names,
153
+ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
138
154
 
139
- .tags h3 { font-size: 1em; margin-bottom: 0; }
155
+ .tags .tag_title { font-size: 1em; margin-bottom: 0; font-weight: bold; }
140
156
  .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
141
157
  .tags ul li { margin-bottom: 3px; }
142
158
  .tags ul .name { font-family: monospace; font-weight: bold; }
143
159
  .tags ul .note { padding: 3px 6px; }
144
160
  .tags { margin-bottom: 12px; }
145
161
 
146
- .tags .examples h3 { margin-bottom: 10px; }
147
- .tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
162
+ .tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
163
+ .tags .examples .inline p { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
148
164
 
149
165
  .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
150
- .tags .overload .overload_item .signature {
166
+ .tags .overload .overload_item .signature {
151
167
  padding: 2px 8px;
152
168
  background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
153
169
  }
@@ -163,7 +179,7 @@ p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace;
163
179
 
164
180
  #content a:link, #content a:visited { text-decoration: none; color: #05a; }
165
181
  #content a:hover { background: #ffffa5; }
166
- .docstring { margin-right: 6em; }
182
+ div.docstring, p.docstring { margin-right: 6em; }
167
183
 
168
184
  ul.summary {
169
185
  list-style: none;
@@ -171,19 +187,19 @@ ul.summary {
171
187
  font-size: 1em;
172
188
  line-height: 1.5em;
173
189
  }
174
- ul.summary a:link, ul.summary a:visited {
190
+ ul.summary a:link, ul.summary a:visited {
175
191
  text-decoration: none; font-size: 1.1em;
176
192
  }
177
193
  ul.summary li { margin-bottom: 5px; }
178
- .summary .summary_signature {
194
+ .summary .summary_signature {
179
195
  padding: 1px 10px;
180
196
  background: #eaeaff; border: 1px solid #dfdfe5;
181
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
197
+ -moz-border-radius: 3px; -webkit-border-radius: 3px;
182
198
  }
183
199
  .summary_signature:hover { background: #eeeeff; cursor: pointer; }
184
200
  ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
185
201
  ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
186
- #content .summary_signature:hover a:link,
202
+ #content .summary_signature:hover a:link,
187
203
  #content .summary_signature:hover a:visited {
188
204
  background: transparent;
189
205
  color: #48f;
@@ -206,18 +222,18 @@ ul.fullTree li:last-child { padding-bottom: 0; }
206
222
  .showAll .inheritName { display: none; }
207
223
 
208
224
  #search { position: absolute; right: 14px; top: 0px; }
209
- #search a:link, #search a:visited {
225
+ #search a:link, #search a:visited {
210
226
  display: block; float: left; margin-right: 4px;
211
227
  padding: 8px 10px; text-decoration: none; color: #05a;
212
228
  border: 1px solid #d8d8e5;
213
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
229
+ -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
214
230
  -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
215
231
  background: #eaf0ff;
216
232
  -webkit-box-shadow: -1px 1px 3px #ddd;
217
233
  }
218
234
  #search a:hover { background: #f5faff; color: #06b; }
219
- #search a.active {
220
- background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
235
+ #search a.active {
236
+ background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
221
237
  -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
222
238
  -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
223
239
  }
@@ -231,7 +247,7 @@ ul.fullTree li:last-child { padding-bottom: 0; }
231
247
  #menu .title { color: #555; }
232
248
  #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
233
249
  #menu a:hover { color: #05a; }
234
- #menu .noframes { display: none; }
250
+ #menu .noframes { display: inline; }
235
251
  .frames #menu .noframes { display: inline; float: right; }
236
252
 
237
253
  #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
@@ -251,8 +267,8 @@ li.r2 { background: #fafafa; }
251
267
  z-index: 9999;
252
268
  background: #fff;
253
269
  display: none;
254
- position: absolute;
255
- top: 36px;
270
+ position: absolute;
271
+ top: 36px;
256
272
  right: 18px;
257
273
  width: 500px;
258
274
  height: 80%;
@@ -268,13 +284,14 @@ li.r2 { background: #fafafa; }
268
284
  #content ul.summary li.deprecated .summary_signature a:link,
269
285
  #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
270
286
 
271
- #toc {
287
+ #toc {
272
288
  padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
273
289
  max-width: 300px;
274
290
  -webkit-box-shadow: -2px 2px 6px #bbb;
275
291
  -moz-box-shadow: -2px 2px 6px #bbb;
276
292
  z-index: 5000;
277
293
  position: relative;
294
+ overflow-x: auto;
278
295
  }
279
296
  #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
280
297
  #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
@@ -293,8 +310,8 @@ li.r2 { background: #fafafa; }
293
310
  #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
294
311
  #filecontents pre.code, .docstring pre.code { display: block; }
295
312
  .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
296
- #filecontents pre.code, .docstring pre.code,
297
- .tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
313
+ #filecontents pre.code, .docstring pre.code,
314
+ .tags pre.example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
298
315
  pre.code { color: #000; }
299
316
  pre.code .info.file { color: #555; }
300
317
  pre.code .val { color: #036A07; }
@@ -302,21 +319,21 @@ pre.code .tstring_content,
302
319
  pre.code .heredoc_beg, pre.code .heredoc_end,
303
320
  pre.code .qwords_beg, pre.code .qwords_end,
304
321
  pre.code .tstring, pre.code .dstring { color: #036A07; }
305
- pre.code .fid, pre.code .id.new, pre.code .id.to_s,
306
- pre.code .id.to_sym, pre.code .id.to_f,
322
+ pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
323
+ pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
307
324
  pre.code .dot + pre.code .id,
308
- pre.code .id.to_i pre.code .id.each { color: #0085FF; }
325
+ pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
309
326
  pre.code .comment { color: #0066FF; }
310
327
  pre.code .const, pre.code .constant { color: #585CF6; }
311
- pre.code .symbol { color: #C5060B; }
312
- pre.code .kw,
313
328
  pre.code .label,
314
- pre.code .id.require,
315
- pre.code .id.extend,
316
- pre.code .id.include { color: #0000FF; }
329
+ pre.code .symbol { color: #C5060B; }
330
+ pre.code .kw,
331
+ pre.code .rubyid_require,
332
+ pre.code .rubyid_extend,
333
+ pre.code .rubyid_include { color: #0000FF; }
317
334
  pre.code .ivar { color: #318495; }
318
- pre.code .gvar,
319
- pre.code .id.backref,
320
- pre.code .id.nth_ref { color: #6D79DE; }
335
+ pre.code .gvar,
336
+ pre.code .rubyid_backref,
337
+ pre.code .rubyid_nth_ref { color: #6D79DE; }
321
338
  pre.code .regexp, .dregexp { color: #036A07; }
322
339
  pre.code a { border-bottom: 1px dotted #bbf; }