milk 0.0.0 → 0.0.1

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 (170) hide show
  1. data/INSTALL +8 -0
  2. data/LICENSE +24 -17
  3. data/README +3 -0
  4. data/Rakefile +21 -56
  5. data/bin/milk +2 -19
  6. data/doc/classes/Milk.html +198 -0
  7. data/doc/classes/Milk.src/M000005.html +17 -0
  8. data/doc/classes/Milk/Application.html +209 -0
  9. data/doc/classes/Milk/Application.src/M000007.html +69 -0
  10. data/doc/classes/Milk/Application.src/M000008.html +38 -0
  11. data/doc/classes/Milk/Component.html +397 -0
  12. data/doc/classes/Milk/Component.src/M000014.html +19 -0
  13. data/doc/classes/Milk/Component.src/M000015.html +16 -0
  14. data/doc/classes/Milk/Component.src/M000016.html +15 -0
  15. data/doc/classes/Milk/Component.src/M000017.html +15 -0
  16. data/doc/classes/Milk/Component.src/M000018.html +15 -0
  17. data/doc/classes/Milk/Component.src/M000019.html +15 -0
  18. data/doc/classes/Milk/Component.src/M000020.html +15 -0
  19. data/doc/classes/Milk/Component.src/M000021.html +15 -0
  20. data/doc/classes/Milk/Component.src/M000022.html +18 -0
  21. data/doc/classes/Milk/Component.src/M000023.html +21 -0
  22. data/doc/classes/Milk/Component.src/M000024.html +15 -0
  23. data/doc/classes/Milk/Component.src/M000025.html +22 -0
  24. data/doc/classes/Milk/ExternalCompilerError.html +117 -0
  25. data/doc/classes/Milk/Field.html +114 -0
  26. data/doc/classes/Milk/Fields.html +173 -0
  27. data/doc/classes/Milk/Fields/ComponentArray.html +114 -0
  28. data/doc/classes/Milk/Fields/ImageChooser.html +114 -0
  29. data/doc/classes/Milk/Fields/MarkdownField.html +114 -0
  30. data/doc/classes/Milk/Fields/PageChooser.html +114 -0
  31. data/doc/classes/Milk/Fields/SpriteChooser.html +114 -0
  32. data/doc/classes/Milk/Fields/TextField.html +114 -0
  33. data/doc/classes/Milk/Haxe.html +208 -0
  34. data/doc/classes/Milk/Haxe.src/M000005.html +40 -0
  35. data/doc/classes/Milk/Haxe.src/M000006.html +15 -0
  36. data/doc/classes/Milk/Page.html +243 -0
  37. data/doc/classes/Milk/Page.src/M000009.html +17 -0
  38. data/doc/classes/Milk/Page.src/M000010.html +17 -0
  39. data/doc/classes/Milk/Page.src/M000011.html +18 -0
  40. data/doc/classes/Milk/Page.src/M000012.html +20 -0
  41. data/doc/classes/Milk/Page.src/M000013.html +21 -0
  42. data/doc/classes/Milk/PageNotFoundError.html +110 -0
  43. data/doc/classes/Object.html +237 -0
  44. data/doc/classes/Object.src/M000001.html +13 -0
  45. data/doc/classes/Object.src/M000002.html +13 -0
  46. data/doc/classes/Object.src/M000003.html +15 -0
  47. data/doc/classes/Object.src/M000004.html +15 -0
  48. data/doc/created.rid +1 -0
  49. data/doc/files/INSTALL.html +106 -0
  50. data/doc/files/LICENSE.html +126 -0
  51. data/doc/files/README.html +100 -0
  52. data/doc/files/Rakefile.html +121 -0
  53. data/doc/files/bin/milk.html +100 -0
  54. data/doc/files/doc/classes/Milk/Application_html.html +302 -0
  55. data/doc/files/doc/classes/Milk/Application_src/M000007_html.html +173 -0
  56. data/doc/files/doc/classes/Milk/Application_src/M000008_html.html +142 -0
  57. data/doc/files/doc/classes/Milk/Component_html.html +477 -0
  58. data/doc/files/doc/classes/Milk/Component_src/M000014_html.html +123 -0
  59. data/doc/files/doc/classes/Milk/Component_src/M000015_html.html +120 -0
  60. data/doc/files/doc/classes/Milk/Component_src/M000016_html.html +119 -0
  61. data/doc/files/doc/classes/Milk/Component_src/M000017_html.html +119 -0
  62. data/doc/files/doc/classes/Milk/Component_src/M000018_html.html +119 -0
  63. data/doc/files/doc/classes/Milk/Component_src/M000019_html.html +119 -0
  64. data/doc/files/doc/classes/Milk/Component_src/M000020_html.html +119 -0
  65. data/doc/files/doc/classes/Milk/Component_src/M000021_html.html +119 -0
  66. data/doc/files/doc/classes/Milk/Component_src/M000022_html.html +122 -0
  67. data/doc/files/doc/classes/Milk/Component_src/M000023_html.html +125 -0
  68. data/doc/files/doc/classes/Milk/Component_src/M000024_html.html +119 -0
  69. data/doc/files/doc/classes/Milk/Component_src/M000025_html.html +126 -0
  70. data/doc/files/doc/classes/Milk/ExternalCompilerError_html.html +214 -0
  71. data/doc/files/doc/classes/Milk/Field_html.html +209 -0
  72. data/doc/files/doc/classes/Milk/Fields/ComponentArray_html.html +209 -0
  73. data/doc/files/doc/classes/Milk/Fields/ImageChooser_html.html +209 -0
  74. data/doc/files/doc/classes/Milk/Fields/MarkdownField_html.html +209 -0
  75. data/doc/files/doc/classes/Milk/Fields/PageChooser_html.html +209 -0
  76. data/doc/files/doc/classes/Milk/Fields/SpriteChooser_html.html +209 -0
  77. data/doc/files/doc/classes/Milk/Fields/TextField_html.html +209 -0
  78. data/doc/files/doc/classes/Milk/Fields_html.html +264 -0
  79. data/doc/files/doc/classes/Milk/Haxe_html.html +298 -0
  80. data/doc/files/doc/classes/Milk/Haxe_src/M000005_html.html +144 -0
  81. data/doc/files/doc/classes/Milk/Haxe_src/M000006_html.html +119 -0
  82. data/doc/files/doc/classes/Milk/PageNotFoundError_html.html +205 -0
  83. data/doc/files/doc/classes/Milk/Page_html.html +330 -0
  84. data/doc/files/doc/classes/Milk/Page_src/M000009_html.html +121 -0
  85. data/doc/files/doc/classes/Milk/Page_src/M000010_html.html +121 -0
  86. data/doc/files/doc/classes/Milk/Page_src/M000011_html.html +122 -0
  87. data/doc/files/doc/classes/Milk/Page_src/M000012_html.html +124 -0
  88. data/doc/files/doc/classes/Milk/Page_src/M000013_html.html +125 -0
  89. data/doc/files/doc/classes/Milk_html.html +321 -0
  90. data/doc/files/doc/classes/Object_html.html +334 -0
  91. data/doc/files/doc/classes/Object_src/M000001_html.html +117 -0
  92. data/doc/files/doc/classes/Object_src/M000002_html.html +117 -0
  93. data/doc/files/doc/classes/Object_src/M000003_html.html +119 -0
  94. data/doc/files/doc/classes/Object_src/M000004_html.html +119 -0
  95. data/doc/files/doc/created_rid.html +97 -0
  96. data/doc/files/doc/files/INSTALL_html.html +206 -0
  97. data/doc/files/doc/files/LICENSE_html.html +226 -0
  98. data/doc/files/doc/files/README_html.html +201 -0
  99. data/doc/files/doc/files/Rakefile_html.html +221 -0
  100. data/doc/files/doc/files/bin/milk_html.html +198 -0
  101. data/doc/files/doc/files/lib/milk/application_rb_html.html +188 -0
  102. data/doc/files/doc/files/lib/milk/component_rb_html.html +188 -0
  103. data/doc/files/doc/files/lib/milk/field_rb_html.html +188 -0
  104. data/doc/files/doc/files/lib/milk/fields/component_array_rb_html.html +188 -0
  105. data/doc/files/doc/files/lib/milk/fields/image_chooser_rb_html.html +188 -0
  106. data/doc/files/doc/files/lib/milk/fields/markdown_field_rb_html.html +188 -0
  107. data/doc/files/doc/files/lib/milk/fields/page_chooser_rb_html.html +188 -0
  108. data/doc/files/doc/files/lib/milk/fields/sprite_chooser_rb_html.html +188 -0
  109. data/doc/files/doc/files/lib/milk/fields/text_field_rb_html.html +188 -0
  110. data/doc/files/doc/files/lib/milk/fields/xhtml_haml_html.html +211 -0
  111. data/doc/files/doc/files/lib/milk/haxe_rb_html.html +188 -0
  112. data/doc/files/doc/files/lib/milk/page_rb_html.html +188 -0
  113. data/doc/files/doc/files/lib/milk/tasks_rb_html.html +202 -0
  114. data/doc/files/doc/files/lib/milk/templates/bzrignore_html.html +197 -0
  115. data/doc/files/doc/files/lib/milk/templates/rackup_html.html +217 -0
  116. data/doc/files/doc/files/lib/milk/templates/rakefile_html.html +198 -0
  117. data/doc/files/doc/files/lib/milk/templates/restart_html.html +197 -0
  118. data/doc/files/doc/files/lib/milk_rb_html.html +197 -0
  119. data/doc/files/doc/fr_class_index_html.html +160 -0
  120. data/doc/files/doc/fr_file_index_html.html +174 -0
  121. data/doc/files/doc/fr_method_index_html.html +178 -0
  122. data/doc/files/doc/index_html.html +128 -0
  123. data/doc/files/doc/rdoc-style_css.html +665 -0
  124. data/doc/files/lib/milk/application_rb.html +90 -0
  125. data/doc/files/lib/milk/component_rb.html +90 -0
  126. data/doc/files/lib/milk/field_rb.html +90 -0
  127. data/doc/files/lib/milk/fields/component_array_rb.html +90 -0
  128. data/doc/files/lib/milk/fields/image_chooser_rb.html +90 -0
  129. data/doc/files/lib/milk/fields/markdown_field_rb.html +90 -0
  130. data/doc/files/lib/milk/fields/page_chooser_rb.html +90 -0
  131. data/doc/files/lib/milk/fields/sprite_chooser_rb.html +90 -0
  132. data/doc/files/lib/milk/fields/text_field_rb.html +90 -0
  133. data/doc/files/lib/milk/fields/xhtml_haml.html +107 -0
  134. data/doc/files/lib/milk/haxe_rb.html +90 -0
  135. data/doc/files/lib/milk/page_rb.html +90 -0
  136. data/doc/files/lib/milk/tasks_rb.html +104 -0
  137. data/doc/files/lib/milk/templates/bzrignore.html +97 -0
  138. data/doc/files/lib/milk/templates/rackup.html +119 -0
  139. data/doc/files/lib/milk/templates/rakefile.html +98 -0
  140. data/doc/files/lib/milk/templates/restart.html +97 -0
  141. data/doc/files/lib/milk_rb.html +97 -0
  142. data/doc/fr_class_index.html +27 -0
  143. data/doc/fr_file_index.html +169 -0
  144. data/doc/fr_method_index.html +33 -0
  145. data/doc/index.html +21 -0
  146. data/doc/rdoc-style.css +299 -0
  147. data/lib/milk.rb +58 -0
  148. data/lib/milk/application.rb +98 -0
  149. data/lib/milk/component.rb +73 -0
  150. data/lib/milk/field.rb +16 -0
  151. data/lib/milk/fields/component_array.rb +4 -0
  152. data/lib/milk/fields/image_chooser.rb +4 -0
  153. data/lib/milk/fields/markdown_field.rb +4 -0
  154. data/lib/milk/fields/page_chooser.rb +4 -0
  155. data/lib/milk/fields/sprite_chooser.rb +4 -0
  156. data/lib/milk/fields/text_field.rb +4 -0
  157. data/lib/milk/fields/xhtml.haml +10 -0
  158. data/lib/milk/haxe.rb +139 -0
  159. data/lib/milk/page.rb +45 -0
  160. data/lib/milk/tasks.rb +89 -0
  161. data/lib/milk/templates/bzrignore +3 -0
  162. data/lib/milk/templates/rackup +16 -0
  163. data/lib/milk/templates/rakefile +4 -0
  164. data/lib/milk/templates/restart +1 -0
  165. metadata +246 -26
  166. data/.document +0 -5
  167. data/.gitignore +0 -5
  168. data/README.rdoc +0 -7
  169. data/test/milk_test.rb +0 -7
  170. data/test/test_helper.rb +0 -10
@@ -0,0 +1,97 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: created.rid [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>created.rid</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/created.rid
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:37 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ Wed, 13 May 2009 23:25:36 -0500
69
+ </p>
70
+
71
+ </div>
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+ <!-- if includes -->
79
+
80
+ <div id="section">
81
+
82
+
83
+
84
+
85
+ <!-- if method_list -->
86
+
87
+
88
+
89
+
90
+ </div>
91
+
92
+ <div id="validator-badges">
93
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
94
+ </div>
95
+
96
+ </body>
97
+ </html>
@@ -0,0 +1,206 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: INSTALL.html [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>INSTALL.html</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/files/INSTALL.html
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:36 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ <!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8220;
69
+ &#8220;<a
70
+ href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#8220;>
71
+ <html xmlns=&#8220;<a
72
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>&#8220;
73
+ xml:lang=&#8220;en&#8221; lang=&#8220;en&#8221;> <head>
74
+ </p>
75
+ <pre>
76
+ &lt;title&gt;File: INSTALL [RDoc Documentation]&lt;/title&gt;
77
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
78
+ &lt;meta http-equiv=&quot;Content-Script-Type&quot; content=&quot;text/javascript&quot; /&gt;
79
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;.././rdoc-style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
80
+ &lt;script type=&quot;text/javascript&quot;&gt;
81
+ // &lt;![CDATA[
82
+
83
+ function popupCode( url ) {
84
+ window.open(url, &quot;Code&quot;, &quot;resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400&quot;)
85
+ }
86
+
87
+ function toggleCode( id ) {
88
+ if ( document.getElementById )
89
+ elem = document.getElementById( id );
90
+ else if ( document.all )
91
+ elem = eval( &quot;document.all.&quot; + id );
92
+ else
93
+ return false;
94
+
95
+ elemStyle = elem.style;
96
+
97
+ if ( elemStyle.display != &quot;block&quot; ) {
98
+ elemStyle.display = &quot;block&quot;
99
+ } else {
100
+ elemStyle.display = &quot;none&quot;
101
+ }
102
+
103
+ return true;
104
+ }
105
+
106
+ // Make codeblocks hidden by default
107
+ document.writeln( &quot;&lt;style type=\&quot;text/css\&quot;&gt;div.method-source-code { display: none }&lt;\/style&gt;&quot; )
108
+
109
+ // ]]&gt;
110
+ &lt;/script&gt;
111
+ </pre>
112
+ <p>
113
+ </head> <body>
114
+ </p>
115
+ <pre>
116
+ &lt;div id=&quot;fileHeader&quot;&gt;
117
+ &lt;h1&gt;INSTALL&lt;/h1&gt;
118
+ &lt;table class=&quot;header-table&quot;&gt;
119
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
120
+ &lt;td&gt;&lt;strong&gt;Path:&lt;/strong&gt;&lt;/td&gt;
121
+ &lt;td&gt;INSTALL
122
+
123
+ &lt;/td&gt;
124
+ &lt;/tr&gt;
125
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
126
+ &lt;td&gt;&lt;strong&gt;Last Update:&lt;/strong&gt;&lt;/td&gt;
127
+ &lt;td&gt;2009-05-13 23:23:41 -0500&lt;/td&gt;
128
+ &lt;/tr&gt;
129
+ &lt;/table&gt;
130
+ &lt;/div&gt;
131
+ &lt;!-- banner header --&gt;
132
+
133
+ &lt;div id=&quot;bodyContent&quot;&gt;
134
+
135
+ &lt;div id=&quot;contextContent&quot;&gt;
136
+
137
+ &lt;div id=&quot;description&quot;&gt;
138
+ &lt;p&gt;
139
+ </pre>
140
+ <p>
141
+ To install: </p> <pre>
142
+ </p>
143
+ <pre>
144
+ rake gem
145
+
146
+ sudo gem install pkg/milk-0.0.1.gem
147
+ </pre>
148
+ <p>
149
+ </pre> <p> This should install milk, all it&amp;8217;s dependencies and the
150
+ `milk` command line tool to generate new sites. </p>
151
+ </p>
152
+ <pre>
153
+ &lt;/div&gt;
154
+
155
+ &lt;/div&gt;
156
+
157
+ &lt;/div&gt;
158
+
159
+ &lt;!-- if includes --&gt;
160
+
161
+ &lt;div id=&quot;section&quot;&gt;
162
+
163
+ &lt;!-- if method_list --&gt;
164
+
165
+ &lt;/div&gt;
166
+ </pre>
167
+ <p>
168
+ <div id=&#8220;validator-badges&#8221;>
169
+ </p>
170
+ <pre>
171
+ &lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;[Validate]&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
172
+ </pre>
173
+ <p>
174
+ </div>
175
+ </p>
176
+ <p>
177
+ </body> </html>
178
+ </p>
179
+
180
+ </div>
181
+
182
+ </div>
183
+
184
+
185
+ </div>
186
+
187
+ <!-- if includes -->
188
+
189
+ <div id="section">
190
+
191
+
192
+
193
+
194
+ <!-- if method_list -->
195
+
196
+
197
+
198
+
199
+ </div>
200
+
201
+ <div id="validator-badges">
202
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
203
+ </div>
204
+
205
+ </body>
206
+ </html>
@@ -0,0 +1,226 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: LICENSE.html [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>LICENSE.html</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/files/LICENSE.html
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:36 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ <!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8220;
69
+ &#8220;<a
70
+ href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#8220;>
71
+ <html xmlns=&#8220;<a
72
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>&#8220;
73
+ xml:lang=&#8220;en&#8221; lang=&#8220;en&#8221;> <head>
74
+ </p>
75
+ <pre>
76
+ &lt;title&gt;File: LICENSE [RDoc Documentation]&lt;/title&gt;
77
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
78
+ &lt;meta http-equiv=&quot;Content-Script-Type&quot; content=&quot;text/javascript&quot; /&gt;
79
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;.././rdoc-style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
80
+ &lt;script type=&quot;text/javascript&quot;&gt;
81
+ // &lt;![CDATA[
82
+
83
+ function popupCode( url ) {
84
+ window.open(url, &quot;Code&quot;, &quot;resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400&quot;)
85
+ }
86
+
87
+ function toggleCode( id ) {
88
+ if ( document.getElementById )
89
+ elem = document.getElementById( id );
90
+ else if ( document.all )
91
+ elem = eval( &quot;document.all.&quot; + id );
92
+ else
93
+ return false;
94
+
95
+ elemStyle = elem.style;
96
+
97
+ if ( elemStyle.display != &quot;block&quot; ) {
98
+ elemStyle.display = &quot;block&quot;
99
+ } else {
100
+ elemStyle.display = &quot;none&quot;
101
+ }
102
+
103
+ return true;
104
+ }
105
+
106
+ // Make codeblocks hidden by default
107
+ document.writeln( &quot;&lt;style type=\&quot;text/css\&quot;&gt;div.method-source-code { display: none }&lt;\/style&gt;&quot; )
108
+
109
+ // ]]&gt;
110
+ &lt;/script&gt;
111
+ </pre>
112
+ <p>
113
+ </head> <body>
114
+ </p>
115
+ <pre>
116
+ &lt;div id=&quot;fileHeader&quot;&gt;
117
+ &lt;h1&gt;LICENSE&lt;/h1&gt;
118
+ &lt;table class=&quot;header-table&quot;&gt;
119
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
120
+ &lt;td&gt;&lt;strong&gt;Path:&lt;/strong&gt;&lt;/td&gt;
121
+ &lt;td&gt;LICENSE
122
+
123
+ &lt;/td&gt;
124
+ &lt;/tr&gt;
125
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
126
+ &lt;td&gt;&lt;strong&gt;Last Update:&lt;/strong&gt;&lt;/td&gt;
127
+ &lt;td&gt;2009-05-13 23:20:23 -0500&lt;/td&gt;
128
+ &lt;/tr&gt;
129
+ &lt;/table&gt;
130
+ &lt;/div&gt;
131
+ &lt;!-- banner header --&gt;
132
+
133
+ &lt;div id=&quot;bodyContent&quot;&gt;
134
+
135
+ &lt;div id=&quot;contextContent&quot;&gt;
136
+
137
+ &lt;div id=&quot;description&quot;&gt;
138
+ &lt;p&gt;
139
+ </pre>
140
+ <p>
141
+ Copyright &amp;169; 2009, Creationix All rights reserved. </p> <p>
142
+ Redistribution and use in source and binary forms, with or without
143
+ modification, are permitted provided that the following conditions are met:
144
+ </p> <pre>
145
+ </p>
146
+ <pre>
147
+ * Redistributions of source code must retain the above copyright notice,
148
+ this list of conditions and the following disclaimer.
149
+
150
+ * Redistributions in binary form must reproduce the above copyright notice,
151
+ this list of conditions and the following disclaimer in the documentation
152
+ and/or other materials provided with the distribution.
153
+
154
+ * Neither the name of Creationix nor the names of its contributors may be
155
+ used to endorse or promote products derived from this software without
156
+ specific prior written permission.
157
+ </pre>
158
+ <p>
159
+ </pre> <p> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
160
+ CONTRIBUTORS &amp;8220;AS IS&amp;8221; AND ANY EXPRESS OR IMPLIED
161
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
162
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
163
+ EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
164
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
165
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
166
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
167
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
168
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
169
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
170
+ DAMAGE. </p>
171
+ </p>
172
+ <pre>
173
+ &lt;/div&gt;
174
+
175
+ &lt;/div&gt;
176
+
177
+ &lt;/div&gt;
178
+
179
+ &lt;!-- if includes --&gt;
180
+
181
+ &lt;div id=&quot;section&quot;&gt;
182
+
183
+ &lt;!-- if method_list --&gt;
184
+
185
+ &lt;/div&gt;
186
+ </pre>
187
+ <p>
188
+ <div id=&#8220;validator-badges&#8221;>
189
+ </p>
190
+ <pre>
191
+ &lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;[Validate]&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
192
+ </pre>
193
+ <p>
194
+ </div>
195
+ </p>
196
+ <p>
197
+ </body> </html>
198
+ </p>
199
+
200
+ </div>
201
+
202
+ </div>
203
+
204
+
205
+ </div>
206
+
207
+ <!-- if includes -->
208
+
209
+ <div id="section">
210
+
211
+
212
+
213
+
214
+ <!-- if method_list -->
215
+
216
+
217
+
218
+
219
+ </div>
220
+
221
+ <div id="validator-badges">
222
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
223
+ </div>
224
+
225
+ </body>
226
+ </html>