ember 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +15 -0
- data/bin/ember +47 -0
- data/doc/api/classes/Ember.html +61 -0
- data/doc/api/classes/Ember/Template.html +396 -0
- data/doc/api/classes/Ember/Template/Program.html +497 -0
- data/doc/api/created.rid +1 -0
- data/doc/api/css/main.css +263 -0
- data/doc/api/css/panel.css +383 -0
- data/doc/api/css/reset.css +53 -0
- data/doc/api/files/LICENSE.html +76 -0
- data/doc/api/files/lib/ember/template_rb.html +66 -0
- data/doc/api/files/lib/ember_rb.html +63 -0
- data/doc/api/i/arrows.png +0 -0
- data/doc/api/i/results_bg.png +0 -0
- data/doc/api/i/tree_bg.png +0 -0
- data/doc/api/index.html +14 -0
- data/doc/api/js/jquery-1.3.2.min.js +19 -0
- data/doc/api/js/jquery-effect.js +593 -0
- data/doc/api/js/main.js +22 -0
- data/doc/api/js/searchdoc.js +605 -0
- data/doc/api/panel/index.html +63 -0
- data/doc/api/panel/search_index.js +1 -0
- data/doc/api/panel/tree.js +1 -0
- data/doc/example.erb +2 -0
- data/doc/example.txt +2 -0
- data/doc/history.erb +9 -0
- data/doc/index.erb +11 -0
- data/doc/index.xhtml +758 -0
- data/doc/intro.erb +79 -0
- data/doc/setup.erb +29 -0
- data/doc/usage.erb +249 -0
- data/lib/ember.rb +16 -0
- data/lib/ember/template.rb +586 -0
- data/rakefile +14 -0
- data/test/ember.rb +17 -0
- data/test/ember/template.rb +141 -0
- metadata +109 -0
data/doc/api/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Mon, 04 May 2009 01:21:22 -0700
|
@@ -0,0 +1,263 @@
|
|
1
|
+
body {
|
2
|
+
font-family: "Helvetica Neue", Arial, sans-serif;
|
3
|
+
background: #FFF;
|
4
|
+
color: #000;
|
5
|
+
margin: 0px;
|
6
|
+
font-size: 0.82em;
|
7
|
+
line-height: 1.25em;
|
8
|
+
}
|
9
|
+
|
10
|
+
a {
|
11
|
+
color: #00F;
|
12
|
+
text-decoration: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
a:hover {
|
16
|
+
color: #333;
|
17
|
+
background: #FE8;
|
18
|
+
}
|
19
|
+
|
20
|
+
p {
|
21
|
+
margin-bottom: 1em;
|
22
|
+
}
|
23
|
+
|
24
|
+
h1 {
|
25
|
+
font-size: 2.1em;
|
26
|
+
font-weight: normal;
|
27
|
+
line-height: 1.2em;
|
28
|
+
margin: 1.4em 0 0.7em 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
h2 {
|
32
|
+
font-size: 1.6em;
|
33
|
+
margin: 1.8em 0 0.8em 0;
|
34
|
+
font-weight: normal;
|
35
|
+
line-height: 1.2em;
|
36
|
+
}
|
37
|
+
|
38
|
+
h3 {
|
39
|
+
font-size: 1.4em;
|
40
|
+
color:#555;
|
41
|
+
margin: 1.4em 0 0.7em 0;
|
42
|
+
font-weight: normal;
|
43
|
+
}
|
44
|
+
|
45
|
+
h4 {
|
46
|
+
margin: 1.4em 0 0.5em 0;
|
47
|
+
font-size: 1em;
|
48
|
+
}
|
49
|
+
|
50
|
+
.clear
|
51
|
+
{
|
52
|
+
clear: both;
|
53
|
+
width: 0; height: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
dt
|
57
|
+
{
|
58
|
+
margin-bottom: 0.3em;
|
59
|
+
font-weight: bold;
|
60
|
+
}
|
61
|
+
|
62
|
+
dd
|
63
|
+
{
|
64
|
+
margin-left: 2em;
|
65
|
+
margin-bottom: 1em;
|
66
|
+
}
|
67
|
+
|
68
|
+
dd p
|
69
|
+
{
|
70
|
+
margin-top: 0.6em;
|
71
|
+
}
|
72
|
+
|
73
|
+
li
|
74
|
+
{
|
75
|
+
margin: 0 0 0.5em 2em;
|
76
|
+
}
|
77
|
+
|
78
|
+
ul li
|
79
|
+
{
|
80
|
+
list-style: disc;
|
81
|
+
}
|
82
|
+
|
83
|
+
ol li
|
84
|
+
{
|
85
|
+
list-style: decimal;
|
86
|
+
}
|
87
|
+
|
88
|
+
.banner
|
89
|
+
{
|
90
|
+
background: #EDF3FE;
|
91
|
+
border-bottom: 1px solid #ccc;
|
92
|
+
padding: 1em 2em 0.5em 2em;
|
93
|
+
}
|
94
|
+
.banner h1
|
95
|
+
{
|
96
|
+
font-size: 1.2em;
|
97
|
+
margin: 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
.banner h1 .type
|
101
|
+
{
|
102
|
+
font-size: 0.833em;
|
103
|
+
display:block;
|
104
|
+
}
|
105
|
+
|
106
|
+
.banner h1 .type,
|
107
|
+
.banner h1 .parent
|
108
|
+
{
|
109
|
+
color: #666;
|
110
|
+
}
|
111
|
+
|
112
|
+
.banner ul
|
113
|
+
{
|
114
|
+
margin-top: 0.3em;
|
115
|
+
margin-bottom: 0;
|
116
|
+
font-size: 0.85em;
|
117
|
+
}
|
118
|
+
|
119
|
+
.banner li
|
120
|
+
{
|
121
|
+
list-style: none;
|
122
|
+
margin-left: 0;
|
123
|
+
margin-bottom: 0;
|
124
|
+
}
|
125
|
+
|
126
|
+
pre
|
127
|
+
{
|
128
|
+
margin-bottom: 1em;
|
129
|
+
}
|
130
|
+
|
131
|
+
.methods dt
|
132
|
+
{
|
133
|
+
width: 1em;
|
134
|
+
font-size: 1.5em;
|
135
|
+
color:#AAA;
|
136
|
+
position: absolute;
|
137
|
+
font-weight: normal;
|
138
|
+
margin: 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
.methods dd
|
142
|
+
{
|
143
|
+
margin-left: 2.5em;
|
144
|
+
min-height: 1.8em;
|
145
|
+
-height: 1.8em;
|
146
|
+
padding-bottom: 0.8em;
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
.methods ul li
|
151
|
+
{
|
152
|
+
margin-right: 0.7em;
|
153
|
+
margin-left: 0;
|
154
|
+
list-style: none;
|
155
|
+
display: inline;
|
156
|
+
}
|
157
|
+
|
158
|
+
#content {
|
159
|
+
margin: 2em;
|
160
|
+
margin-left: 3.5em;
|
161
|
+
margin-right: 3.5em;
|
162
|
+
}
|
163
|
+
|
164
|
+
|
165
|
+
.sectiontitle {
|
166
|
+
margin-top: 2em;
|
167
|
+
margin-bottom: 1.3em;
|
168
|
+
margin-left: -1.2em;
|
169
|
+
font-size: 1.2em;
|
170
|
+
padding: 0 0 0.25em 0;
|
171
|
+
font-weight: bold;
|
172
|
+
border-bottom: 1px solid #000;
|
173
|
+
}
|
174
|
+
|
175
|
+
.attr-rw {
|
176
|
+
padding-right: 1em;
|
177
|
+
text-align: center;
|
178
|
+
color: #055;
|
179
|
+
}
|
180
|
+
|
181
|
+
.attr-name {
|
182
|
+
font-weight: bold;
|
183
|
+
padding-right: 1em;
|
184
|
+
}
|
185
|
+
|
186
|
+
.attr-desc {
|
187
|
+
}
|
188
|
+
|
189
|
+
tt {
|
190
|
+
font-size: 1.15em;
|
191
|
+
}
|
192
|
+
|
193
|
+
.attr-value {
|
194
|
+
font-family: monospace;
|
195
|
+
padding-left: 1em;
|
196
|
+
font-size: 1.15em;
|
197
|
+
}
|
198
|
+
|
199
|
+
.dyn-source {
|
200
|
+
display: none;
|
201
|
+
background: #fffde8;
|
202
|
+
color: #000;
|
203
|
+
border: #ffe0bb dotted 1px;
|
204
|
+
margin: 0.5em 2em 0.5em 0;
|
205
|
+
padding: 0.5em;
|
206
|
+
}
|
207
|
+
|
208
|
+
.dyn-source .cmt {
|
209
|
+
color: #00F;
|
210
|
+
font-style: italic;
|
211
|
+
}
|
212
|
+
|
213
|
+
.dyn-source .kw {
|
214
|
+
color: #070;
|
215
|
+
font-weight: bold;
|
216
|
+
}
|
217
|
+
|
218
|
+
.description pre {
|
219
|
+
padding: 0.5em;
|
220
|
+
border: #ffe0bb dotted 1px;
|
221
|
+
background: #fffde8;
|
222
|
+
}
|
223
|
+
|
224
|
+
.method {
|
225
|
+
margin-bottom: 2em;
|
226
|
+
}
|
227
|
+
.method .description,
|
228
|
+
.method .sourcecode
|
229
|
+
{
|
230
|
+
margin-left: 1.2em;
|
231
|
+
}
|
232
|
+
.method h4
|
233
|
+
{
|
234
|
+
border-bottom: 1px dotted #999;
|
235
|
+
padding: 0 0 0.2em 0;
|
236
|
+
margin-bottom: 0.8em;
|
237
|
+
font-size: 1.1em;
|
238
|
+
color:#333;
|
239
|
+
}
|
240
|
+
.method .title {
|
241
|
+
border-bottom: 1px dotted #666;
|
242
|
+
padding: 0 0 0.15em 0;
|
243
|
+
margin: 0 0 0.5em 0;
|
244
|
+
font-size: 1.2em;
|
245
|
+
line-height: 1.25em;
|
246
|
+
}
|
247
|
+
|
248
|
+
.method .sourcecode p.source-link {
|
249
|
+
text-indent: 0em;
|
250
|
+
margin-top: 0.5em;
|
251
|
+
}
|
252
|
+
|
253
|
+
.method .aka {
|
254
|
+
margin-top: 0.3em;
|
255
|
+
margin-left: 1em;
|
256
|
+
font-style: italic;
|
257
|
+
text-indent: 2em;
|
258
|
+
}
|
259
|
+
|
260
|
+
.method .source-link
|
261
|
+
{
|
262
|
+
font-size: 0.85em;
|
263
|
+
}
|
@@ -0,0 +1,383 @@
|
|
1
|
+
/* Panel (begin) */
|
2
|
+
.panel
|
3
|
+
{
|
4
|
+
position: absolute;
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
top: 0;
|
8
|
+
left: 0;
|
9
|
+
background: #FFF;
|
10
|
+
z-index: 2;
|
11
|
+
font-family: "Helvetica Neue", "Arial", sans-serif;
|
12
|
+
//zoom: 1;
|
13
|
+
}
|
14
|
+
|
15
|
+
.panel_tree .results,
|
16
|
+
.panel_results .tree
|
17
|
+
{
|
18
|
+
display: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
/* Header with search box (begin) */
|
22
|
+
.panel .header
|
23
|
+
{
|
24
|
+
width: 100%;
|
25
|
+
height: 29px;
|
26
|
+
border-bottom: 1px solid #666;
|
27
|
+
position: relative;
|
28
|
+
left: 0; top: 0;
|
29
|
+
background: #e8e8e8;
|
30
|
+
}
|
31
|
+
|
32
|
+
.panel .header div
|
33
|
+
{
|
34
|
+
margin: 0 7px;
|
35
|
+
}
|
36
|
+
.panel .header table
|
37
|
+
{
|
38
|
+
height: 29px;
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
|
42
|
+
.panel .header table td
|
43
|
+
{
|
44
|
+
vertical-align: middle;
|
45
|
+
text-align: middle;
|
46
|
+
}
|
47
|
+
|
48
|
+
.panel .header label
|
49
|
+
{
|
50
|
+
position: absolute;
|
51
|
+
font-size: 12px;
|
52
|
+
line-height: 29px;
|
53
|
+
margin-left: 3px;
|
54
|
+
color: #999;
|
55
|
+
cursor: text;
|
56
|
+
}
|
57
|
+
|
58
|
+
.panel .header table input
|
59
|
+
{
|
60
|
+
width: 100%;
|
61
|
+
box-sizing: border-box;
|
62
|
+
-moz-box-sizing: border-box;
|
63
|
+
-webkit-box-sizing: border-box;
|
64
|
+
display: inline-block;
|
65
|
+
-webkit-appearance: searchfield;
|
66
|
+
height: 22px;
|
67
|
+
//height: auto;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* Header with search box (end) */
|
71
|
+
|
72
|
+
|
73
|
+
/* Results (begin) */
|
74
|
+
.panel .result
|
75
|
+
{
|
76
|
+
position: absolute;
|
77
|
+
top: 30px;
|
78
|
+
bottom: 0;
|
79
|
+
left: 0;
|
80
|
+
width: 100%;
|
81
|
+
//height: expression((this.parentNode.offsetHeight - 31));
|
82
|
+
overflow-y: scroll;
|
83
|
+
overflow-x: hidden;
|
84
|
+
-overflow-y: hidden;
|
85
|
+
background: #EDF3FE url(../i/results_bg.png);
|
86
|
+
z-index: 2;
|
87
|
+
//zoom:1;
|
88
|
+
}
|
89
|
+
|
90
|
+
.panel .result ul
|
91
|
+
{
|
92
|
+
font-size: 0.8em;
|
93
|
+
width: 100%;
|
94
|
+
background: #EDF3FE url(../i/results_bg.png);
|
95
|
+
//zoom:1;
|
96
|
+
}
|
97
|
+
|
98
|
+
.panel .result ul li
|
99
|
+
{
|
100
|
+
height: 46px;
|
101
|
+
-height: 50px;
|
102
|
+
//display: inline;
|
103
|
+
//width: 100%;
|
104
|
+
//zoom: 1;
|
105
|
+
overflow: hidden;
|
106
|
+
padding: 4px 10px 0 10px;
|
107
|
+
cursor: pointer;
|
108
|
+
}
|
109
|
+
|
110
|
+
.panel .result ul li h1
|
111
|
+
{
|
112
|
+
font-size: 13px;
|
113
|
+
font-weight: normal;
|
114
|
+
color: #333;
|
115
|
+
margin-bottom: 2px;
|
116
|
+
white-space: nowrap;
|
117
|
+
}
|
118
|
+
|
119
|
+
.panel .result ul li p
|
120
|
+
{
|
121
|
+
font-size: 11px;
|
122
|
+
color: #333;
|
123
|
+
margin-bottom: 2px;
|
124
|
+
white-space: nowrap;
|
125
|
+
}
|
126
|
+
|
127
|
+
.panel .result ul li h1 i,
|
128
|
+
.panel .result ul li p.snippet
|
129
|
+
{
|
130
|
+
color: #999;
|
131
|
+
}
|
132
|
+
|
133
|
+
.panel .result ul li b
|
134
|
+
{
|
135
|
+
color: #000;
|
136
|
+
}
|
137
|
+
|
138
|
+
.panel .result ul li.current
|
139
|
+
{
|
140
|
+
background: #3875D7;
|
141
|
+
}
|
142
|
+
|
143
|
+
.panel .result ul li.current h1,
|
144
|
+
.panel .result ul li.current p
|
145
|
+
{
|
146
|
+
color: #DDD;
|
147
|
+
}
|
148
|
+
|
149
|
+
.panel .result ul li.current h1 i,
|
150
|
+
.panel .result ul li.current p.snippet
|
151
|
+
{
|
152
|
+
color: #AAA;
|
153
|
+
}
|
154
|
+
|
155
|
+
.panel .result ul li.current b
|
156
|
+
{
|
157
|
+
color: #FFF;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
.panel .result ul li:hover,
|
162
|
+
.panel .result ul li.selected
|
163
|
+
{
|
164
|
+
background: #d0d0d0;
|
165
|
+
}
|
166
|
+
|
167
|
+
.panel .result ul li.current:hover
|
168
|
+
{
|
169
|
+
background: #2965C0;
|
170
|
+
}
|
171
|
+
|
172
|
+
.panel .result ul li .badge
|
173
|
+
{
|
174
|
+
margin-right: 0.4em;
|
175
|
+
margin-left: -0.2em;
|
176
|
+
padding: 0 0.2em;
|
177
|
+
color: #000;
|
178
|
+
}
|
179
|
+
|
180
|
+
.panel .result ul li .badge_1
|
181
|
+
{
|
182
|
+
background: #ACDBF4;
|
183
|
+
}
|
184
|
+
|
185
|
+
.panel .result ul li.current .badge_1
|
186
|
+
{
|
187
|
+
background: #97BFD7;
|
188
|
+
}
|
189
|
+
|
190
|
+
.panel .result ul li .badge_2
|
191
|
+
{
|
192
|
+
background: #ACF3C3;
|
193
|
+
}
|
194
|
+
|
195
|
+
.panel .result ul li.current .badge_2
|
196
|
+
{
|
197
|
+
background: #98D7AC;
|
198
|
+
}
|
199
|
+
|
200
|
+
.panel .result ul li .badge_3
|
201
|
+
{
|
202
|
+
background: #E0F3AC;
|
203
|
+
}
|
204
|
+
|
205
|
+
.panel .result ul li.current .badge_3
|
206
|
+
{
|
207
|
+
background: #C4D798;
|
208
|
+
}
|
209
|
+
|
210
|
+
.panel .result ul li .badge_4
|
211
|
+
{
|
212
|
+
background: #D7CA98;
|
213
|
+
}
|
214
|
+
|
215
|
+
.panel .result ul li.current .badge_4
|
216
|
+
{
|
217
|
+
background: #A6B0AC;
|
218
|
+
}
|
219
|
+
|
220
|
+
.panel .result ul li .badge_5
|
221
|
+
{
|
222
|
+
background: #F3C8AC;
|
223
|
+
}
|
224
|
+
|
225
|
+
.panel .result ul li.current .badge_5
|
226
|
+
{
|
227
|
+
background: #D7B198;
|
228
|
+
}
|
229
|
+
|
230
|
+
.panel .result ul li .badge_6
|
231
|
+
{
|
232
|
+
background: #F3ACC3;
|
233
|
+
}
|
234
|
+
|
235
|
+
.panel .result ul li.current .badge_6
|
236
|
+
{
|
237
|
+
background: #D798AB;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Results (end) */
|
241
|
+
|
242
|
+
/* Tree (begin) */ /**/
|
243
|
+
.panel .tree
|
244
|
+
{
|
245
|
+
position: absolute;
|
246
|
+
top: 30px;
|
247
|
+
bottom: 0;
|
248
|
+
left: 0;
|
249
|
+
width: 100%;
|
250
|
+
//zoom: 1;
|
251
|
+
//height: expression((this.parentNode.offsetHeight - 31));
|
252
|
+
overflow-y: scroll;
|
253
|
+
overflow-x: hidden;
|
254
|
+
-overflow-y: hidden;
|
255
|
+
background: #EDF3FE url(../i/tree_bg.png);
|
256
|
+
z-index: 30;
|
257
|
+
}
|
258
|
+
|
259
|
+
.panel .tree ul
|
260
|
+
{
|
261
|
+
background: #EDF3FE url(../i/tree_bg.png);
|
262
|
+
}
|
263
|
+
|
264
|
+
.panel .tree li
|
265
|
+
{
|
266
|
+
cursor: pointer;
|
267
|
+
overflow: hidden;
|
268
|
+
//height: 23px;
|
269
|
+
//display: inline;
|
270
|
+
//zoom: 1;
|
271
|
+
//width: 100%;
|
272
|
+
}
|
273
|
+
|
274
|
+
|
275
|
+
.panel .tree li .content
|
276
|
+
{
|
277
|
+
padding-left: 18px;
|
278
|
+
padding-top: 5px;
|
279
|
+
height: 18px;
|
280
|
+
overflow: hidden;
|
281
|
+
position: relative;
|
282
|
+
}
|
283
|
+
|
284
|
+
.panel .tree li .icon
|
285
|
+
{
|
286
|
+
width: 10px;
|
287
|
+
height: 9px;
|
288
|
+
background: url(../i/arrows.png);
|
289
|
+
background-position: 0 -9px;
|
290
|
+
position: absolute;
|
291
|
+
left: 1px;
|
292
|
+
top: 8px;
|
293
|
+
cursor: default;
|
294
|
+
}
|
295
|
+
|
296
|
+
.panel .tree li.closed .icon
|
297
|
+
{
|
298
|
+
background-position: 0 0;
|
299
|
+
}
|
300
|
+
|
301
|
+
.panel .tree ul li h1
|
302
|
+
{
|
303
|
+
font-size: 13px;
|
304
|
+
font-weight: normal;
|
305
|
+
color: #000;
|
306
|
+
margin-bottom: 2px;
|
307
|
+
white-space: nowrap;
|
308
|
+
}
|
309
|
+
|
310
|
+
.panel .tree ul li p
|
311
|
+
{
|
312
|
+
font-size: 11px;
|
313
|
+
color: #666;
|
314
|
+
margin-bottom: 2px;
|
315
|
+
white-space: nowrap;
|
316
|
+
}
|
317
|
+
|
318
|
+
.panel .tree ul li h1 i
|
319
|
+
{
|
320
|
+
color: #999;
|
321
|
+
font-style: normal;
|
322
|
+
}
|
323
|
+
|
324
|
+
.panel .tree ul li.empty
|
325
|
+
{
|
326
|
+
cursor: text;
|
327
|
+
}
|
328
|
+
|
329
|
+
.panel .tree ul li.empty h1,
|
330
|
+
.panel .tree ul li.empty p
|
331
|
+
{
|
332
|
+
color: #666;
|
333
|
+
font-style: italic;
|
334
|
+
}
|
335
|
+
|
336
|
+
.panel .tree ul li.current
|
337
|
+
{
|
338
|
+
background: #3875D7;
|
339
|
+
}
|
340
|
+
|
341
|
+
.panel .tree ul li.current .icon
|
342
|
+
{
|
343
|
+
background-position: -10px -9px;
|
344
|
+
}
|
345
|
+
|
346
|
+
.panel .tree ul li.current.closed .icon
|
347
|
+
{
|
348
|
+
background-position: -10px 0;
|
349
|
+
}
|
350
|
+
|
351
|
+
.panel .tree ul li.current h1
|
352
|
+
{
|
353
|
+
color: #FFF;
|
354
|
+
}
|
355
|
+
|
356
|
+
.panel .tree ul li.current p
|
357
|
+
{
|
358
|
+
color: #CCC;
|
359
|
+
}
|
360
|
+
|
361
|
+
.panel .tree ul li.current.empty h1,
|
362
|
+
.panel .tree ul li.current.empty p
|
363
|
+
{
|
364
|
+
color: #999;
|
365
|
+
}
|
366
|
+
|
367
|
+
.panel .tree ul li:hover
|
368
|
+
{
|
369
|
+
background: #d0d0d0;
|
370
|
+
}
|
371
|
+
|
372
|
+
.panel .tree ul li.current:hover
|
373
|
+
{
|
374
|
+
background: #2965C0;
|
375
|
+
}
|
376
|
+
|
377
|
+
.panel .tree .stopper
|
378
|
+
{
|
379
|
+
display: none;
|
380
|
+
}
|
381
|
+
/* Tree (end) */ /**/
|
382
|
+
|
383
|
+
/* Panel (end) */
|