wee 2.0.0 → 2.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.
Files changed (135) hide show
  1. data/TODO +31 -0
  2. data/benchmark.rb +37 -0
  3. data/demo.ru +11 -0
  4. data/doc/rdoc/classes/Array.html +22 -26
  5. data/doc/rdoc/classes/Hash.html +22 -26
  6. data/doc/rdoc/classes/Object.html +21 -26
  7. data/doc/rdoc/classes/String.html +19 -87
  8. data/doc/rdoc/classes/Struct.html +22 -26
  9. data/doc/rdoc/classes/Wee.html +75 -206
  10. data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
  11. data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
  12. data/doc/rdoc/classes/Wee/Application.html +63 -114
  13. data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
  14. data/doc/rdoc/classes/Wee/Brush.html +52 -101
  15. data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
  16. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
  17. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
  18. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
  19. data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
  20. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
  21. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
  22. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
  23. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
  24. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
  25. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
  26. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
  27. data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
  28. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
  29. data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
  30. data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
  31. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
  32. data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
  33. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
  34. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
  35. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
  36. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
  37. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
  38. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
  39. data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
  40. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
  41. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
  42. data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
  43. data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
  44. data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
  45. data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
  46. data/doc/rdoc/classes/Wee/Component.html +142 -292
  47. data/doc/rdoc/classes/Wee/Decoration.html +85 -141
  48. data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
  49. data/doc/rdoc/classes/Wee/Delegate.html +72 -115
  50. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
  51. data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
  52. data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
  53. data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
  54. data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
  55. data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
  56. data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
  57. data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
  58. data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
  59. data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
  60. data/doc/rdoc/classes/Wee/JQuery.html +36 -64
  61. data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
  62. data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
  63. data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
  65. data/doc/rdoc/classes/Wee/Presenter.html +86 -143
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
  68. data/doc/rdoc/classes/Wee/Renderer.html +56 -125
  69. data/doc/rdoc/classes/Wee/Request.html +57 -115
  70. data/doc/rdoc/classes/Wee/Response.html +24 -26
  71. data/doc/rdoc/classes/Wee/Session.html +137 -292
  72. data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
  73. data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
  74. data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
  75. data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
  76. data/doc/rdoc/classes/Wee/State.html +57 -105
  77. data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
  78. data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
  79. data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
  80. data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
  81. data/doc/rdoc/created.rid +1 -1
  82. data/doc/rdoc/files/README_rdoc.html +26 -17
  83. data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
  84. data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
  85. data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
  86. data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
  87. data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
  88. data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
  89. data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
  90. data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
  91. data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
  92. data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
  93. data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
  94. data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
  95. data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
  96. data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
  97. data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
  98. data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
  99. data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
  100. data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
  101. data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
  102. data/doc/rdoc/files/lib/wee_rb.html +37 -47
  103. data/doc/rdoc/fr_class_index.html +12 -86
  104. data/doc/rdoc/fr_file_index.html +12 -30
  105. data/doc/rdoc/fr_method_index.html +242 -473
  106. data/doc/rdoc/index.html +8 -5
  107. data/doc/rdoc/rdoc-style.css +119 -210
  108. data/examples/ObjectSpaceBrowser.rb +4 -4
  109. data/examples/TODO +21 -0
  110. data/examples/ajax.rb +6 -4
  111. data/examples/blog.rb +42 -0
  112. data/examples/demo.rb +5 -3
  113. data/examples/demo/calculator.rb +3 -3
  114. data/examples/demo/calendar.rb +4 -4
  115. data/examples/demo/counter.rb +2 -2
  116. data/examples/demo/editable_counter.rb +2 -2
  117. data/examples/demo/example.rb +25 -16
  118. data/examples/demo/window.rb +10 -3
  119. data/examples/hw2.rb +17 -0
  120. data/examples/recipe/description.rb +170 -0
  121. data/examples/recipe/migrations/001_create_recipes.rb +13 -0
  122. data/examples/recipe/model.rb +27 -0
  123. data/examples/recipe/models/recipe.rb +18 -0
  124. data/examples/recipe/recipe_editor.rb +28 -0
  125. data/lib/wee.rb +1 -7
  126. data/lib/wee/component.rb +37 -74
  127. data/lib/wee/decoration.rb +16 -15
  128. data/lib/wee/html_brushes.rb +16 -17
  129. data/lib/wee/presenter.rb +2 -1
  130. data/lib/wee/response.rb +4 -4
  131. data/lib/wee/session.rb +2 -2
  132. data/lib/wee/state.rb +2 -2
  133. data/test/t.rb +67 -0
  134. data/wee.gemspec +1 -1
  135. metadata +157 -167
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::Brush::ImageTag [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Brush::ImageTag</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,70 +55,59 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../../files/lib/wee/html_brushes_rb.html">
57
-
58
59
  lib/wee/html_brushes.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  Brush::GenericSingleTagBrush
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
- </div>
87
81
 
88
82
 
83
+ </div>
84
+
89
85
  <div id="method-list">
90
86
  <h3 class="section-bar">Methods</h3>
91
87
 
92
88
  <div class="name-list">
93
-
94
- <a href="#M000135">new</a>&nbsp;&nbsp;
95
-
89
+ <a href="#M000146">new</a>&nbsp;&nbsp;
96
90
  </div>
97
91
  </div>
98
92
 
99
93
  </div>
100
94
 
95
+
101
96
  <!-- if includes -->
102
97
 
103
98
  <div id="section">
104
99
 
100
+
105
101
  <div id="constants-list">
106
102
  <h3 class="section-bar">Constants</h3>
107
103
 
108
104
  <div class="name-list">
109
105
  <table summary="Constants">
110
-
111
106
  <tr class="top-aligned-row context-row">
112
107
  <td class="context-item-name">HTML_TAG</td>
113
108
  <td>=</td>
114
109
  <td class="context-item-value">'img'.freeze</td>
115
-
116
110
  </tr>
117
-
118
111
  </table>
119
112
  </div>
120
113
  </div>
@@ -126,77 +119,54 @@
126
119
 
127
120
  <div class="name-list">
128
121
  <table>
129
-
130
122
  <tr class="top-aligned-row context-row">
131
123
  <td class="context-item-name">alt</td>
132
-
133
124
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
134
-
135
125
  <td class="context-item-desc"></td>
136
126
  </tr>
137
-
138
127
  <tr class="top-aligned-row context-row">
139
128
  <td class="context-item-name">border</td>
140
-
141
129
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
142
-
143
130
  <td class="context-item-desc"></td>
144
131
  </tr>
145
-
146
132
  <tr class="top-aligned-row context-row">
147
133
  <td class="context-item-name">height</td>
148
-
149
134
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
150
-
151
135
  <td class="context-item-desc"></td>
152
136
  </tr>
153
-
154
137
  <tr class="top-aligned-row context-row">
155
138
  <td class="context-item-name">src</td>
156
-
157
139
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
158
-
159
140
  <td class="context-item-desc"></td>
160
141
  </tr>
161
-
162
142
  <tr class="top-aligned-row context-row">
163
143
  <td class="context-item-name">width</td>
164
-
165
144
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
166
-
167
145
  <td class="context-item-desc"></td>
168
146
  </tr>
169
-
170
147
  </table>
171
148
  </div>
172
149
  </div>
150
+
173
151
 
174
152
 
175
153
  <!-- if method_list -->
176
-
177
154
  <div id="methods">
178
-
179
155
  <h3 class="section-bar">Public Class methods</h3>
180
156
 
181
-
182
- <div id="method-M000135" class="method-detail">
183
- <a name="M000135"></a>
157
+ <div id="method-M000146" class="method-detail">
158
+ <a name="M000146"></a>
184
159
 
185
160
  <div class="method-heading">
186
-
187
- <a href="#M000135" class="method-signature">
188
-
161
+ <a href="#M000146" class="method-signature">
189
162
  <span class="method-name">new</span><span class="method-args">()</span>
190
-
191
163
  </a>
192
-
193
164
  </div>
194
-
165
+
195
166
  <div class="method-description">
196
-
197
167
  <p><a class="source-toggle" href="#"
198
- onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
199
- <div class="method-source-code" id="M000135-source">
168
+ onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
169
+ <div class="method-source-code" id="M000146-source">
200
170
  <pre>
201
171
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 170</span>
202
172
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -204,22 +174,19 @@
204
174
  <span class="ruby-keyword kw">end</span>
205
175
  </pre>
206
176
  </div>
207
-
208
177
  </div>
209
178
  </div>
210
179
 
211
180
 
212
-
213
181
  </div>
214
182
 
215
183
 
216
-
217
-
218
184
  </div>
219
185
 
186
+
220
187
  <div id="validator-badges">
221
188
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
222
189
  </div>
223
190
 
224
191
  </body>
225
- </html>
192
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::Brush::InputTag [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Brush::InputTag</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,89 +55,67 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../../files/lib/wee/html_brushes_rb.html">
57
-
58
59
  lib/wee/html_brushes.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  Brush::GenericSingleTagBrush
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
- <div id="description">
87
- <hr size="10"></hr><pre>
88
- Form - Input
89
- </pre>
90
- <hr size="10"></hr>
91
- </div>
92
81
 
93
- </div>
94
82
 
83
+ </div>
95
84
 
96
85
  <div id="method-list">
97
86
  <h3 class="section-bar">Methods</h3>
98
87
 
99
88
  <div class="name-list">
100
-
101
- <a href="#M000150">__callback</a>&nbsp;&nbsp;
102
-
103
- <a href="#M000149">new</a>&nbsp;&nbsp;
104
-
89
+ <a href="#M000126">__callback</a>&nbsp;&nbsp;
90
+ <a href="#M000125">new</a>&nbsp;&nbsp;
105
91
  </div>
106
92
  </div>
107
93
 
108
94
  </div>
109
95
 
110
- <!-- if includes -->
111
96
 
97
+ <!-- if includes -->
112
98
  <div id="includes">
113
99
  <h3 class="section-bar">Included Modules</h3>
114
100
 
115
101
  <div id="includes-list">
116
-
117
102
  <span class="include-name"><a href="../CallbackMixin.html">CallbackMixin</a></span>
118
-
119
103
  </div>
120
104
  </div>
121
105
 
122
106
  <div id="section">
123
107
 
108
+
124
109
  <div id="constants-list">
125
110
  <h3 class="section-bar">Constants</h3>
126
111
 
127
112
  <div class="name-list">
128
113
  <table summary="Constants">
129
-
130
114
  <tr class="top-aligned-row context-row">
131
115
  <td class="context-item-name">HTML_TAG</td>
132
116
  <td>=</td>
133
117
  <td class="context-item-value">'input'.freeze</td>
134
-
135
118
  </tr>
136
-
137
119
  </table>
138
120
  </div>
139
121
  </div>
@@ -145,133 +127,89 @@
145
127
 
146
128
  <div class="name-list">
147
129
  <table>
148
-
149
130
  <tr class="top-aligned-row context-row">
150
131
  <td class="context-item-name">checked</td>
151
-
152
132
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
153
-
154
133
  <td class="context-item-desc"></td>
155
134
  </tr>
156
-
157
135
  <tr class="top-aligned-row context-row">
158
136
  <td class="context-item-name">disabled</td>
159
-
160
137
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
161
-
162
138
  <td class="context-item-desc"></td>
163
139
  </tr>
164
-
165
140
  <tr class="top-aligned-row context-row">
166
141
  <td class="context-item-name">maxlength</td>
167
-
168
142
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
169
-
170
143
  <td class="context-item-desc"></td>
171
144
  </tr>
172
-
173
145
  <tr class="top-aligned-row context-row">
174
146
  <td class="context-item-name">name</td>
175
-
176
147
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
177
-
178
148
  <td class="context-item-desc"></td>
179
149
  </tr>
180
-
181
150
  <tr class="top-aligned-row context-row">
182
151
  <td class="context-item-name">readonly</td>
183
-
184
152
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
185
-
186
153
  <td class="context-item-desc"></td>
187
154
  </tr>
188
-
189
155
  <tr class="top-aligned-row context-row">
190
156
  <td class="context-item-name">size</td>
191
-
192
157
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
193
-
194
158
  <td class="context-item-desc"></td>
195
159
  </tr>
196
-
197
160
  <tr class="top-aligned-row context-row">
198
161
  <td class="context-item-name">src</td>
199
-
200
162
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
201
-
202
163
  <td class="context-item-desc"></td>
203
164
  </tr>
204
-
205
165
  <tr class="top-aligned-row context-row">
206
166
  <td class="context-item-name">type</td>
207
-
208
167
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
209
-
210
168
  <td class="context-item-desc"></td>
211
169
  </tr>
212
-
213
170
  <tr class="top-aligned-row context-row">
214
171
  <td class="context-item-name">type</td>
215
-
216
172
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
217
-
218
173
  <td class="context-item-desc"></td>
219
174
  </tr>
220
-
221
175
  <tr class="top-aligned-row context-row">
222
176
  <td class="context-item-name">type</td>
223
-
224
177
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
225
-
226
178
  <td class="context-item-desc"></td>
227
179
  </tr>
228
-
229
180
  <tr class="top-aligned-row context-row">
230
181
  <td class="context-item-name">type</td>
231
-
232
182
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
233
-
234
183
  <td class="context-item-desc"></td>
235
184
  </tr>
236
-
237
185
  <tr class="top-aligned-row context-row">
238
186
  <td class="context-item-name">value</td>
239
-
240
187
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
241
-
242
188
  <td class="context-item-desc"></td>
243
189
  </tr>
244
-
245
190
  </table>
246
191
  </div>
247
192
  </div>
193
+
248
194
 
249
195
 
250
196
  <!-- if method_list -->
251
-
252
197
  <div id="methods">
253
-
254
198
  <h3 class="section-bar">Public Class methods</h3>
255
199
 
256
-
257
- <div id="method-M000149" class="method-detail">
258
- <a name="M000149"></a>
200
+ <div id="method-M000125" class="method-detail">
201
+ <a name="M000125"></a>
259
202
 
260
203
  <div class="method-heading">
261
-
262
- <a href="#M000149" class="method-signature">
263
-
204
+ <a href="#M000125" class="method-signature">
264
205
  <span class="method-name">new</span><span class="method-args">(_type)</span>
265
-
266
206
  </a>
267
-
268
207
  </div>
269
-
208
+
270
209
  <div class="method-description">
271
-
272
210
  <p><a class="source-toggle" href="#"
273
- onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
274
- <div class="method-source-code" id="M000149-source">
211
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
212
+ <div class="method-source-code" id="M000125-source">
275
213
  <pre>
276
214
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 371</span>
277
215
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">_type</span>)
@@ -280,53 +218,42 @@
280
218
  <span class="ruby-keyword kw">end</span>
281
219
  </pre>
282
220
  </div>
283
-
284
221
  </div>
285
222
  </div>
286
223
 
287
-
288
224
  <h3 class="section-bar">Public Instance methods</h3>
289
225
 
290
-
291
- <div id="method-M000150" class="method-detail">
292
- <a name="M000150"></a>
226
+ <div id="method-M000126" class="method-detail">
227
+ <a name="M000126"></a>
293
228
 
294
229
  <div class="method-heading">
295
-
296
- <a href="#M000150" class="method-signature">
297
-
230
+ <a href="#M000126" class="method-signature">
298
231
  <span class="method-name">__callback</span><span class="method-args">()</span>
299
-
300
232
  </a>
301
-
302
233
  </div>
303
-
234
+
304
235
  <div class="method-description">
305
-
306
236
  <p><a class="source-toggle" href="#"
307
- onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
308
- <div class="method-source-code" id="M000150-source">
237
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
238
+ <div class="method-source-code" id="M000126-source">
309
239
  <pre>
310
240
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 378</span>
311
241
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callback</span>; <span class="ruby-identifier">name</span>(<span class="ruby-ivar">@canvas</span>.<span class="ruby-identifier">register_callback</span>(<span class="ruby-identifier">:input</span>, <span class="ruby-ivar">@callback</span>)) <span class="ruby-keyword kw">end</span>
312
242
  </pre>
313
243
  </div>
314
-
315
244
  </div>
316
245
  </div>
317
246
 
318
247
 
319
-
320
248
  </div>
321
249
 
322
250
 
323
-
324
-
325
251
  </div>
326
252
 
253
+
327
254
  <div id="validator-badges">
328
255
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
329
256
  </div>
330
257
 
331
258
  </body>
332
- </html>
259
+ </html>