wee 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/TODO +31 -0
- data/benchmark.rb +37 -0
- data/demo.ru +11 -0
- data/doc/rdoc/classes/Array.html +22 -26
- data/doc/rdoc/classes/Hash.html +22 -26
- data/doc/rdoc/classes/Object.html +21 -26
- data/doc/rdoc/classes/String.html +19 -87
- data/doc/rdoc/classes/Struct.html +22 -26
- data/doc/rdoc/classes/Wee.html +75 -206
- data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
- data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
- data/doc/rdoc/classes/Wee/Application.html +63 -114
- data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
- data/doc/rdoc/classes/Wee/Brush.html +52 -101
- data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
- data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
- data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
- data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
- data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
- data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
- data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
- data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
- data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
- data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
- data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
- data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
- data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
- data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
- data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
- data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
- data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
- data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
- data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
- data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
- data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
- data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
- data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
- data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
- data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
- data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
- data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
- data/doc/rdoc/classes/Wee/Component.html +142 -292
- data/doc/rdoc/classes/Wee/Decoration.html +85 -141
- data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
- data/doc/rdoc/classes/Wee/Delegate.html +72 -115
- data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
- data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
- data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
- data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
- data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
- data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
- data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
- data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
- data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
- data/doc/rdoc/classes/Wee/JQuery.html +36 -64
- data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
- data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
- data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
- data/doc/rdoc/classes/Wee/Presenter.html +86 -143
- data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
- data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
- data/doc/rdoc/classes/Wee/Renderer.html +56 -125
- data/doc/rdoc/classes/Wee/Request.html +57 -115
- data/doc/rdoc/classes/Wee/Response.html +24 -26
- data/doc/rdoc/classes/Wee/Session.html +137 -292
- data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
- data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
- data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
- data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
- data/doc/rdoc/classes/Wee/State.html +57 -105
- data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
- data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
- data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README_rdoc.html +26 -17
- data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
- data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
- data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
- data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
- data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
- data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
- data/doc/rdoc/files/lib/wee_rb.html +37 -47
- data/doc/rdoc/fr_class_index.html +12 -86
- data/doc/rdoc/fr_file_index.html +12 -30
- data/doc/rdoc/fr_method_index.html +242 -473
- data/doc/rdoc/index.html +8 -5
- data/doc/rdoc/rdoc-style.css +119 -210
- data/examples/ObjectSpaceBrowser.rb +4 -4
- data/examples/TODO +21 -0
- data/examples/ajax.rb +6 -4
- data/examples/blog.rb +42 -0
- data/examples/demo.rb +5 -3
- data/examples/demo/calculator.rb +3 -3
- data/examples/demo/calendar.rb +4 -4
- data/examples/demo/counter.rb +2 -2
- data/examples/demo/editable_counter.rb +2 -2
- data/examples/demo/example.rb +25 -16
- data/examples/demo/window.rb +10 -3
- data/examples/hw2.rb +17 -0
- data/examples/recipe/description.rb +170 -0
- data/examples/recipe/migrations/001_create_recipes.rb +13 -0
- data/examples/recipe/model.rb +27 -0
- data/examples/recipe/models/recipe.rb +18 -0
- data/examples/recipe/recipe_editor.rb +28 -0
- data/lib/wee.rb +1 -7
- data/lib/wee/component.rb +37 -74
- data/lib/wee/decoration.rb +16 -15
- data/lib/wee/html_brushes.rb +16 -17
- data/lib/wee/presenter.rb +2 -1
- data/lib/wee/response.rb +4 -4
- data/lib/wee/session.rb +2 -2
- data/lib/wee/state.rb +2 -2
- data/test/t.rb +67 -0
- data/wee.gemspec +1 -1
- metadata +157 -167
@@ -1,9 +1,12 @@
|
|
1
|
-
|
2
|
-
|
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::GenericSingleTagBrush
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::GenericSingleTagBrush</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 }
|
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,55 +55,45 @@
|
|
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::GenericTagBrush
|
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
|
-
|
95
|
-
|
96
|
-
<a href="#M000133">with</a>
|
97
|
-
|
89
|
+
<a href="#M000189">nesting?</a>
|
90
|
+
<a href="#M000188">with</a>
|
98
91
|
</div>
|
99
92
|
</div>
|
100
93
|
|
101
94
|
</div>
|
102
95
|
|
96
|
+
|
103
97
|
<!-- if includes -->
|
104
98
|
|
105
99
|
<div id="section">
|
@@ -107,62 +101,50 @@
|
|
107
101
|
|
108
102
|
|
109
103
|
|
110
|
-
<!-- if method_list -->
|
111
104
|
|
112
|
-
|
105
|
+
|
113
106
|
|
114
|
-
<h3 class="section-bar">Public Class methods</h3>
|
115
107
|
|
108
|
+
<!-- if method_list -->
|
109
|
+
<div id="methods">
|
110
|
+
<h3 class="section-bar">Public Class methods</h3>
|
116
111
|
|
117
|
-
<div id="method-
|
118
|
-
<a name="
|
112
|
+
<div id="method-M000189" class="method-detail">
|
113
|
+
<a name="M000189"></a>
|
119
114
|
|
120
115
|
<div class="method-heading">
|
121
|
-
|
122
|
-
<a href="#M000134" class="method-signature">
|
123
|
-
|
116
|
+
<a href="#M000189" class="method-signature">
|
124
117
|
<span class="method-name">nesting?</span><span class="method-args">()</span>
|
125
|
-
|
126
118
|
</a>
|
127
|
-
|
128
119
|
</div>
|
129
|
-
|
120
|
+
|
130
121
|
<div class="method-description">
|
131
|
-
|
132
122
|
<p><a class="source-toggle" href="#"
|
133
|
-
onclick="toggleCode('
|
134
|
-
<div class="method-source-code" id="
|
123
|
+
onclick="toggleCode('M000189-source');return false;">[Source]</a></p>
|
124
|
+
<div class="method-source-code" id="M000189-source">
|
135
125
|
<pre>
|
136
126
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 158</span>
|
137
127
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">nesting?</span>() <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">end</span>
|
138
128
|
</pre>
|
139
129
|
</div>
|
140
|
-
|
141
130
|
</div>
|
142
131
|
</div>
|
143
132
|
|
144
|
-
|
145
133
|
<h3 class="section-bar">Public Instance methods</h3>
|
146
134
|
|
147
|
-
|
148
|
-
|
149
|
-
<a name="M000133"></a>
|
135
|
+
<div id="method-M000188" class="method-detail">
|
136
|
+
<a name="M000188"></a>
|
150
137
|
|
151
138
|
<div class="method-heading">
|
152
|
-
|
153
|
-
<a href="#M000133" class="method-signature">
|
154
|
-
|
139
|
+
<a href="#M000188" class="method-signature">
|
155
140
|
<span class="method-name">with</span><span class="method-args">()</span>
|
156
|
-
|
157
141
|
</a>
|
158
|
-
|
159
142
|
</div>
|
160
|
-
|
143
|
+
|
161
144
|
<div class="method-description">
|
162
|
-
|
163
145
|
<p><a class="source-toggle" href="#"
|
164
|
-
onclick="toggleCode('
|
165
|
-
<div class="method-source-code" id="
|
146
|
+
onclick="toggleCode('M000188-source');return false;">[Source]</a></p>
|
147
|
+
<div class="method-source-code" id="M000188-source">
|
166
148
|
<pre>
|
167
149
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 153</span>
|
168
150
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>
|
@@ -171,22 +153,19 @@
|
|
171
153
|
<span class="ruby-keyword kw">end</span>
|
172
154
|
</pre>
|
173
155
|
</div>
|
174
|
-
|
175
156
|
</div>
|
176
157
|
</div>
|
177
158
|
|
178
159
|
|
179
|
-
|
180
160
|
</div>
|
181
161
|
|
182
162
|
|
183
|
-
|
184
|
-
|
185
163
|
</div>
|
186
164
|
|
165
|
+
|
187
166
|
<div id="validator-badges">
|
188
167
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
189
168
|
</div>
|
190
169
|
|
191
170
|
</body>
|
192
|
-
</html>
|
171
|
+
</html>
|
@@ -1,9 +1,12 @@
|
|
1
|
-
|
2
|
-
|
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::GenericTagBrush
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::GenericTagBrush</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 }
|
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,181 +55,129 @@
|
|
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
|
-
<a href="../Brush.html">
|
74
|
-
|
75
|
-
Wee::Brush
|
76
|
-
|
77
|
-
</a>
|
78
|
-
|
68
|
+
Brush
|
79
69
|
</td>
|
80
70
|
</tr>
|
81
|
-
|
82
71
|
</table>
|
83
72
|
</div>
|
84
73
|
<!-- banner header -->
|
85
74
|
|
86
75
|
<div id="bodyContent">
|
87
76
|
|
77
|
+
|
78
|
+
|
88
79
|
<div id="contextContent">
|
89
80
|
|
90
|
-
</div>
|
91
81
|
|
92
82
|
|
83
|
+
</div>
|
84
|
+
|
93
85
|
<div id="method-list">
|
94
86
|
<h3 class="section-bar">Methods</h3>
|
95
87
|
|
96
88
|
<div class="name-list">
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<a href="#M000127">onclick_javascript</a>
|
109
|
-
|
110
|
-
<a href="#M000131">onclick_update_callback</a>
|
111
|
-
|
112
|
-
<a href="#M000130">onclick_update_self_callback</a>
|
113
|
-
|
114
|
-
<a href="#M000129">ondblclick_callback</a>
|
115
|
-
|
116
|
-
<a href="#M000132">with</a>
|
117
|
-
|
89
|
+
<a href="#M000156">get_oid</a>
|
90
|
+
<a href="#M000153">html_attr</a>
|
91
|
+
<a href="#M000154">new</a>
|
92
|
+
<a href="#M000155">oid</a>
|
93
|
+
<a href="#M000158">onclick_callback</a>
|
94
|
+
<a href="#M000157">onclick_javascript</a>
|
95
|
+
<a href="#M000161">onclick_update_callback</a>
|
96
|
+
<a href="#M000160">onclick_update_self_callback</a>
|
97
|
+
<a href="#M000159">ondblclick_callback</a>
|
98
|
+
<a href="#M000162">with</a>
|
118
99
|
</div>
|
119
100
|
</div>
|
120
101
|
|
121
102
|
</div>
|
122
103
|
|
104
|
+
|
123
105
|
<!-- if includes -->
|
124
106
|
|
125
107
|
<div id="section">
|
126
108
|
|
127
109
|
|
128
110
|
|
111
|
+
|
112
|
+
|
129
113
|
<div id="attribute-list">
|
130
114
|
<h3 class="section-bar">Attributes</h3>
|
131
115
|
|
132
116
|
<div class="name-list">
|
133
117
|
<table>
|
134
|
-
|
135
118
|
<tr class="top-aligned-row context-row">
|
136
119
|
<td class="context-item-name">css_class</td>
|
137
|
-
|
138
120
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
139
|
-
|
140
121
|
<td class="context-item-desc"></td>
|
141
122
|
</tr>
|
142
|
-
|
143
123
|
<tr class="top-aligned-row context-row">
|
144
124
|
<td class="context-item-name">css_style</td>
|
145
|
-
|
146
125
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
147
|
-
|
148
126
|
<td class="context-item-desc"></td>
|
149
127
|
</tr>
|
150
|
-
|
151
128
|
<tr class="top-aligned-row context-row">
|
152
129
|
<td class="context-item-name">html_name</td>
|
153
|
-
|
154
130
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
155
|
-
|
156
131
|
<td class="context-item-desc"></td>
|
157
132
|
</tr>
|
158
|
-
|
159
133
|
<tr class="top-aligned-row context-row">
|
160
134
|
<td class="context-item-name">html_name</td>
|
161
|
-
|
162
135
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
163
|
-
|
164
136
|
<td class="context-item-desc"></td>
|
165
137
|
</tr>
|
166
|
-
|
167
138
|
<tr class="top-aligned-row context-row">
|
168
139
|
<td class="context-item-name">id</td>
|
169
|
-
|
170
140
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
171
|
-
|
172
141
|
<td class="context-item-desc"></td>
|
173
142
|
</tr>
|
174
|
-
|
175
143
|
<tr class="top-aligned-row context-row">
|
176
144
|
<td class="context-item-name">name</td>
|
177
|
-
|
178
145
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
179
|
-
|
180
146
|
<td class="context-item-desc"></td>
|
181
147
|
</tr>
|
182
|
-
|
183
148
|
<tr class="top-aligned-row context-row">
|
184
149
|
<td class="context-item-name">onclick</td>
|
185
|
-
|
186
150
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
187
|
-
|
188
151
|
<td class="context-item-desc"></td>
|
189
152
|
</tr>
|
190
|
-
|
191
153
|
<tr class="top-aligned-row context-row">
|
192
154
|
<td class="context-item-name">ondblclick</td>
|
193
|
-
|
194
155
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
195
|
-
|
196
156
|
<td class="context-item-desc"></td>
|
197
157
|
</tr>
|
198
|
-
|
199
158
|
</table>
|
200
159
|
</div>
|
201
160
|
</div>
|
161
|
+
|
202
162
|
|
203
163
|
|
204
164
|
<!-- if method_list -->
|
205
|
-
|
206
165
|
<div id="methods">
|
207
|
-
|
208
166
|
<h3 class="section-bar">Public Class methods</h3>
|
209
167
|
|
210
|
-
|
211
|
-
|
212
|
-
<a name="M000123"></a>
|
168
|
+
<div id="method-M000153" class="method-detail">
|
169
|
+
<a name="M000153"></a>
|
213
170
|
|
214
171
|
<div class="method-heading">
|
215
|
-
|
216
|
-
<a href="#M000123" class="method-signature">
|
217
|
-
|
172
|
+
<a href="#M000153" class="method-signature">
|
218
173
|
<span class="method-name">html_attr</span><span class="method-args">(attr, hash={})</span>
|
219
|
-
|
220
174
|
</a>
|
221
|
-
|
222
175
|
</div>
|
223
|
-
|
176
|
+
|
224
177
|
<div class="method-description">
|
225
|
-
|
226
178
|
<p><a class="source-toggle" href="#"
|
227
|
-
onclick="toggleCode('
|
228
|
-
<div class="method-source-code" id="
|
179
|
+
onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
|
180
|
+
<div class="method-source-code" id="M000153-source">
|
229
181
|
<pre>
|
230
182
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 49</span>
|
231
183
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">html_attr</span>(<span class="ruby-identifier">attr</span>, <span class="ruby-identifier">hash</span>={})
|
@@ -264,29 +216,22 @@
|
|
264
216
|
<span class="ruby-keyword kw">end</span>
|
265
217
|
</pre>
|
266
218
|
</div>
|
267
|
-
|
268
219
|
</div>
|
269
220
|
</div>
|
270
221
|
|
271
|
-
|
272
|
-
|
273
|
-
<a name="M000124"></a>
|
222
|
+
<div id="method-M000154" class="method-detail">
|
223
|
+
<a name="M000154"></a>
|
274
224
|
|
275
225
|
<div class="method-heading">
|
276
|
-
|
277
|
-
<a href="#M000124" class="method-signature">
|
278
|
-
|
226
|
+
<a href="#M000154" class="method-signature">
|
279
227
|
<span class="method-name">new</span><span class="method-args">(tag)</span>
|
280
|
-
|
281
228
|
</a>
|
282
|
-
|
283
229
|
</div>
|
284
|
-
|
230
|
+
|
285
231
|
<div class="method-description">
|
286
|
-
|
287
232
|
<p><a class="source-toggle" href="#"
|
288
|
-
onclick="toggleCode('
|
289
|
-
<div class="method-source-code" id="
|
233
|
+
onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
|
234
|
+
<div class="method-source-code" id="M000154-source">
|
290
235
|
<pre>
|
291
236
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 93</span>
|
292
237
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">tag</span>)
|
@@ -296,36 +241,27 @@
|
|
296
241
|
<span class="ruby-keyword kw">end</span>
|
297
242
|
</pre>
|
298
243
|
</div>
|
299
|
-
|
300
244
|
</div>
|
301
245
|
</div>
|
302
246
|
|
303
|
-
|
304
247
|
<h3 class="section-bar">Public Instance methods</h3>
|
305
248
|
|
306
|
-
|
307
|
-
|
308
|
-
<a name="M000126"></a>
|
249
|
+
<div id="method-M000156" class="method-detail">
|
250
|
+
<a name="M000156"></a>
|
309
251
|
|
310
252
|
<div class="method-heading">
|
311
|
-
|
312
|
-
<a href="#M000126" class="method-signature">
|
313
|
-
|
253
|
+
<a href="#M000156" class="method-signature">
|
314
254
|
<span class="method-name">get_oid</span><span class="method-args">()</span>
|
315
|
-
|
316
255
|
</a>
|
317
|
-
|
318
256
|
</div>
|
319
|
-
|
257
|
+
|
320
258
|
<div class="method-description">
|
321
|
-
|
322
259
|
<p>
|
323
260
|
Returns a unique DOM id for the underlying component
|
324
261
|
</p>
|
325
|
-
|
326
262
|
<p><a class="source-toggle" href="#"
|
327
|
-
onclick="toggleCode('
|
328
|
-
<div class="method-source-code" id="
|
263
|
+
onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
|
264
|
+
<div class="method-source-code" id="M000156-source">
|
329
265
|
<pre>
|
330
266
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 109</span>
|
331
267
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_oid</span>
|
@@ -333,33 +269,25 @@ Returns a unique DOM id for the underlying component
|
|
333
269
|
<span class="ruby-keyword kw">end</span>
|
334
270
|
</pre>
|
335
271
|
</div>
|
336
|
-
|
337
272
|
</div>
|
338
273
|
</div>
|
339
274
|
|
340
|
-
|
341
|
-
|
342
|
-
<a name="M000125"></a>
|
275
|
+
<div id="method-M000155" class="method-detail">
|
276
|
+
<a name="M000155"></a>
|
343
277
|
|
344
278
|
<div class="method-heading">
|
345
|
-
|
346
|
-
<a href="#M000125" class="method-signature">
|
347
|
-
|
279
|
+
<a href="#M000155" class="method-signature">
|
348
280
|
<span class="method-name">oid</span><span class="method-args">()</span>
|
349
|
-
|
350
281
|
</a>
|
351
|
-
|
352
282
|
</div>
|
353
|
-
|
283
|
+
|
354
284
|
<div class="method-description">
|
355
|
-
|
356
285
|
<p>
|
357
286
|
Assigns a unique DOM id
|
358
287
|
</p>
|
359
|
-
|
360
288
|
<p><a class="source-toggle" href="#"
|
361
|
-
onclick="toggleCode('
|
362
|
-
<div class="method-source-code" id="
|
289
|
+
onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
|
290
|
+
<div class="method-source-code" id="M000155-source">
|
363
291
|
<pre>
|
364
292
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 102</span>
|
365
293
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">oid</span>
|
@@ -367,29 +295,22 @@ Assigns a unique DOM id
|
|
367
295
|
<span class="ruby-keyword kw">end</span>
|
368
296
|
</pre>
|
369
297
|
</div>
|
370
|
-
|
371
298
|
</div>
|
372
299
|
</div>
|
373
300
|
|
374
|
-
|
375
|
-
|
376
|
-
<a name="M000128"></a>
|
301
|
+
<div id="method-M000158" class="method-detail">
|
302
|
+
<a name="M000158"></a>
|
377
303
|
|
378
304
|
<div class="method-heading">
|
379
|
-
|
380
|
-
<a href="#M000128" class="method-signature">
|
381
|
-
|
305
|
+
<a href="#M000158" class="method-signature">
|
382
306
|
<span class="method-name">onclick_callback</span><span class="method-args">(&block)</span>
|
383
|
-
|
384
307
|
</a>
|
385
|
-
|
386
308
|
</div>
|
387
|
-
|
309
|
+
|
388
310
|
<div class="method-description">
|
389
|
-
|
390
311
|
<p><a class="source-toggle" href="#"
|
391
|
-
onclick="toggleCode('
|
392
|
-
<div class="method-source-code" id="
|
312
|
+
onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
|
313
|
+
<div class="method-source-code" id="M000158-source">
|
393
314
|
<pre>
|
394
315
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 117</span>
|
395
316
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onclick_callback</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -398,29 +319,22 @@ Assigns a unique DOM id
|
|
398
319
|
<span class="ruby-keyword kw">end</span>
|
399
320
|
</pre>
|
400
321
|
</div>
|
401
|
-
|
402
322
|
</div>
|
403
323
|
</div>
|
404
324
|
|
405
|
-
|
406
|
-
|
407
|
-
<a name="M000127"></a>
|
325
|
+
<div id="method-M000157" class="method-detail">
|
326
|
+
<a name="M000157"></a>
|
408
327
|
|
409
328
|
<div class="method-heading">
|
410
|
-
|
411
|
-
<a href="#M000127" class="method-signature">
|
412
|
-
|
329
|
+
<a href="#M000157" class="method-signature">
|
413
330
|
<span class="method-name">onclick_javascript</span><span class="method-args">(v)</span>
|
414
|
-
|
415
331
|
</a>
|
416
|
-
|
417
332
|
</div>
|
418
|
-
|
333
|
+
|
419
334
|
<div class="method-description">
|
420
|
-
|
421
335
|
<p><a class="source-toggle" href="#"
|
422
|
-
onclick="toggleCode('
|
423
|
-
<div class="method-source-code" id="
|
336
|
+
onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
|
337
|
+
<div class="method-source-code" id="M000157-source">
|
424
338
|
<pre>
|
425
339
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 113</span>
|
426
340
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onclick_javascript</span>(<span class="ruby-identifier">v</span>)
|
@@ -428,29 +342,22 @@ Assigns a unique DOM id
|
|
428
342
|
<span class="ruby-keyword kw">end</span>
|
429
343
|
</pre>
|
430
344
|
</div>
|
431
|
-
|
432
345
|
</div>
|
433
346
|
</div>
|
434
347
|
|
435
|
-
|
436
|
-
|
437
|
-
<a name="M000131"></a>
|
348
|
+
<div id="method-M000161" class="method-detail">
|
349
|
+
<a name="M000161"></a>
|
438
350
|
|
439
351
|
<div class="method-heading">
|
440
|
-
|
441
|
-
<a href="#M000131" class="method-signature">
|
442
|
-
|
352
|
+
<a href="#M000161" class="method-signature">
|
443
353
|
<span class="method-name">onclick_update_callback</span><span class="method-args">(&block)</span>
|
444
|
-
|
445
354
|
</a>
|
446
|
-
|
447
355
|
</div>
|
448
|
-
|
356
|
+
|
449
357
|
<div class="method-description">
|
450
|
-
|
451
358
|
<p><a class="source-toggle" href="#"
|
452
|
-
onclick="toggleCode('
|
453
|
-
<div class="method-source-code" id="
|
359
|
+
onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
|
360
|
+
<div class="method-source-code" id="M000161-source">
|
454
361
|
<pre>
|
455
362
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 136</span>
|
456
363
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onclick_update_callback</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -460,29 +367,22 @@ Assigns a unique DOM id
|
|
460
367
|
<span class="ruby-keyword kw">end</span>
|
461
368
|
</pre>
|
462
369
|
</div>
|
463
|
-
|
464
370
|
</div>
|
465
371
|
</div>
|
466
372
|
|
467
|
-
|
468
|
-
|
469
|
-
<a name="M000130"></a>
|
373
|
+
<div id="method-M000160" class="method-detail">
|
374
|
+
<a name="M000160"></a>
|
470
375
|
|
471
376
|
<div class="method-heading">
|
472
|
-
|
473
|
-
<a href="#M000130" class="method-signature">
|
474
|
-
|
377
|
+
<a href="#M000160" class="method-signature">
|
475
378
|
<span class="method-name">onclick_update_self_callback</span><span class="method-args">(&block)</span>
|
476
|
-
|
477
379
|
</a>
|
478
|
-
|
479
380
|
</div>
|
480
|
-
|
381
|
+
|
481
382
|
<div class="method-description">
|
482
|
-
|
483
383
|
<p><a class="source-toggle" href="#"
|
484
|
-
onclick="toggleCode('
|
485
|
-
<div class="method-source-code" id="
|
384
|
+
onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
|
385
|
+
<div class="method-source-code" id="M000160-source">
|
486
386
|
<pre>
|
487
387
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 127</span>
|
488
388
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onclick_update_self_callback</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -495,29 +395,22 @@ Assigns a unique DOM id
|
|
495
395
|
<span class="ruby-keyword kw">end</span>
|
496
396
|
</pre>
|
497
397
|
</div>
|
498
|
-
|
499
398
|
</div>
|
500
399
|
</div>
|
501
400
|
|
502
|
-
|
503
|
-
|
504
|
-
<a name="M000129"></a>
|
401
|
+
<div id="method-M000159" class="method-detail">
|
402
|
+
<a name="M000159"></a>
|
505
403
|
|
506
404
|
<div class="method-heading">
|
507
|
-
|
508
|
-
<a href="#M000129" class="method-signature">
|
509
|
-
|
405
|
+
<a href="#M000159" class="method-signature">
|
510
406
|
<span class="method-name">ondblclick_callback</span><span class="method-args">(&block)</span>
|
511
|
-
|
512
407
|
</a>
|
513
|
-
|
514
408
|
</div>
|
515
|
-
|
409
|
+
|
516
410
|
<div class="method-description">
|
517
|
-
|
518
411
|
<p><a class="source-toggle" href="#"
|
519
|
-
onclick="toggleCode('
|
520
|
-
<div class="method-source-code" id="
|
412
|
+
onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
|
413
|
+
<div class="method-source-code" id="M000159-source">
|
521
414
|
<pre>
|
522
415
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 122</span>
|
523
416
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ondblclick_callback</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -526,29 +419,22 @@ Assigns a unique DOM id
|
|
526
419
|
<span class="ruby-keyword kw">end</span>
|
527
420
|
</pre>
|
528
421
|
</div>
|
529
|
-
|
530
422
|
</div>
|
531
423
|
</div>
|
532
424
|
|
533
|
-
|
534
|
-
|
535
|
-
<a name="M000132"></a>
|
425
|
+
<div id="method-M000162" class="method-detail">
|
426
|
+
<a name="M000162"></a>
|
536
427
|
|
537
428
|
<div class="method-heading">
|
538
|
-
|
539
|
-
<a href="#M000132" class="method-signature">
|
540
|
-
|
429
|
+
<a href="#M000162" class="method-signature">
|
541
430
|
<span class="method-name">with</span><span class="method-args">(text=nil, &block)</span>
|
542
|
-
|
543
431
|
</a>
|
544
|
-
|
545
432
|
</div>
|
546
|
-
|
433
|
+
|
547
434
|
<div class="method-description">
|
548
|
-
|
549
435
|
<p><a class="source-toggle" href="#"
|
550
|
-
onclick="toggleCode('
|
551
|
-
<div class="method-source-code" id="
|
436
|
+
onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
|
437
|
+
<div class="method-source-code" id="M000162-source">
|
552
438
|
<pre>
|
553
439
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 142</span>
|
554
440
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">text</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -560,22 +446,19 @@ Assigns a unique DOM id
|
|
560
446
|
<span class="ruby-keyword kw">end</span>
|
561
447
|
</pre>
|
562
448
|
</div>
|
563
|
-
|
564
449
|
</div>
|
565
450
|
</div>
|
566
451
|
|
567
452
|
|
568
|
-
|
569
453
|
</div>
|
570
454
|
|
571
455
|
|
572
|
-
|
573
|
-
|
574
456
|
</div>
|
575
457
|
|
458
|
+
|
576
459
|
<div id="validator-badges">
|
577
460
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
578
461
|
</div>
|
579
462
|
|
580
463
|
</body>
|
581
|
-
</html>
|
464
|
+
</html>
|