sproutcore 0.9.13 → 0.9.14
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +19 -0
- data/Manifest.txt +103 -26
- data/app_generators/sproutcore/templates/README +1 -1
- data/bin/sc-build +1 -1
- data/bin/sc-gen +0 -0
- data/bin/sc-ide +278 -0
- data/bin/sc-init +38 -0
- data/bin/sc-install +96 -0
- data/bin/sc-remove +94 -0
- data/bin/sc-server +4 -0
- data/bin/sc-update +94 -0
- data/bin/sproutcore +3 -14
- data/clients/sc_docs/controllers/docs.js +1 -1
- data/clients/sc_docs/models/doc.js +6 -0
- data/clients/sc_docs/views/doc_frame.js +1 -1
- data/clients/sc_test_runner/english.lproj/icons/small/next.png +0 -0
- data/clients/sc_test_runner/english.lproj/icons/small/reset.png +0 -0
- data/frameworks/sproutcore/HISTORY +34 -2
- data/frameworks/sproutcore/controllers/array.js +1 -1
- data/frameworks/sproutcore/controllers/controller.js +1 -1
- data/frameworks/sproutcore/controllers/object.js +9 -6
- data/frameworks/sproutcore/core.js +19 -4
- data/frameworks/sproutcore/english.lproj/blank.gif +0 -0
- data/frameworks/sproutcore/english.lproj/core.css +1 -0
- data/frameworks/sproutcore/english.lproj/menu.css +1 -0
- data/frameworks/sproutcore/foundation/application.js +3 -3
- data/frameworks/sproutcore/foundation/benchmark.js +1 -1
- data/frameworks/sproutcore/foundation/node_descriptor.js +13 -1
- data/frameworks/sproutcore/foundation/page.js +3 -2
- data/frameworks/sproutcore/foundation/path_module.js +33 -16
- data/frameworks/sproutcore/foundation/run_loop.js +1 -1
- data/frameworks/sproutcore/foundation/server.js +68 -18
- data/frameworks/sproutcore/foundation/string.js +1 -1
- data/frameworks/sproutcore/globals/window.js +62 -15
- data/frameworks/sproutcore/lib/core_views.rb +1 -0
- data/frameworks/sproutcore/lib/index.rhtml +4 -3
- data/frameworks/sproutcore/lib/menu_views.rb +2 -2
- data/frameworks/sproutcore/models/collection.js +122 -107
- data/frameworks/sproutcore/models/record.js +2 -2
- data/frameworks/sproutcore/panes/manager.js +1 -1
- data/frameworks/sproutcore/panes/overlay.js +3 -3
- data/frameworks/sproutcore/tests/controllers/object.rhtml +26 -0
- data/frameworks/sproutcore/tests/views/collection/incremental_rendering.rhtml +2 -2
- data/frameworks/sproutcore/views/button/disclosure.js +1 -1
- data/frameworks/sproutcore/views/collection/collection.js +19 -15
- data/frameworks/sproutcore/views/collection/source_list.js +1 -1
- data/frameworks/sproutcore/views/collection/table.js +2 -2
- data/frameworks/sproutcore/views/error_explanation.js +1 -1
- data/frameworks/sproutcore/views/field/checkbox_field.js +1 -1
- data/frameworks/sproutcore/views/field/field.js +1 -1
- data/frameworks/sproutcore/views/field/radio_field.js +1 -1
- data/frameworks/sproutcore/views/field/select_field.js +1 -1
- data/frameworks/sproutcore/views/form.js +1 -1
- data/frameworks/sproutcore/views/image.js +1 -1
- data/frameworks/sproutcore/views/menu_item.js +1 -1
- data/frameworks/sproutcore/views/popup_button.js +1 -1
- data/frameworks/sproutcore/views/popup_menu.js +1 -1
- data/frameworks/sproutcore/views/progress.js +4 -2
- data/frameworks/sproutcore/views/radio_group.js +1 -1
- data/frameworks/sproutcore/views/scroll.js +1 -1
- data/frameworks/sproutcore/views/source_list_group.js +1 -1
- data/frameworks/sproutcore/views/split.js +1 -1
- data/frameworks/sproutcore/views/tab.js +3 -1
- data/frameworks/sproutcore/views/view.js +19 -3
- data/jsdoc/README.txt +89 -57
- data/jsdoc/app/frame/Chain.js +102 -0
- data/jsdoc/app/frame/Dumper.js +144 -0
- data/jsdoc/app/frame/Hash.js +47 -0
- data/jsdoc/app/frame/Link.js +142 -0
- data/jsdoc/app/frame/Namespace.js +10 -0
- data/jsdoc/app/frame/Opt.js +134 -0
- data/jsdoc/app/frame/Reflection.js +26 -0
- data/jsdoc/app/frame/String.js +93 -0
- data/jsdoc/app/frame/Testrun.js +129 -0
- data/jsdoc/app/frame.js +33 -0
- data/jsdoc/app/handlers/FOODOC.js +26 -0
- data/jsdoc/app/handlers/XMLDOC/DomReader.js +159 -0
- data/jsdoc/app/handlers/XMLDOC/XMLDoc.js +16 -0
- data/jsdoc/app/handlers/XMLDOC/XMLParse.js +292 -0
- data/jsdoc/app/handlers/XMLDOC.js +26 -0
- data/jsdoc/app/lib/JSDOC/DocComment.js +200 -0
- data/jsdoc/app/lib/JSDOC/DocTag.js +294 -0
- data/jsdoc/app/lib/JSDOC/JsDoc.js +180 -0
- data/jsdoc/app/lib/JSDOC/JsPlate.js +100 -0
- data/jsdoc/app/lib/JSDOC/Lang.js +144 -0
- data/jsdoc/app/lib/JSDOC/Parser.js +109 -0
- data/jsdoc/app/lib/JSDOC/PluginManager.js +33 -0
- data/jsdoc/app/lib/JSDOC/Symbol.js +600 -0
- data/jsdoc/app/lib/JSDOC/SymbolSet.js +220 -0
- data/jsdoc/app/lib/JSDOC/TextStream.js +41 -0
- data/jsdoc/app/lib/JSDOC/Token.js +18 -0
- data/jsdoc/app/lib/JSDOC/TokenReader.js +323 -0
- data/jsdoc/app/lib/JSDOC/TokenStream.js +133 -0
- data/jsdoc/app/lib/JSDOC/Util.js +32 -0
- data/jsdoc/app/lib/JSDOC/Walker.js +416 -0
- data/jsdoc/app/lib/JSDOC.js +97 -0
- data/jsdoc/app/main.js +74 -0
- data/jsdoc/app/plugins/commentSrcJson.js +19 -0
- data/jsdoc/app/plugins/frameworkPrototype.js +16 -0
- data/jsdoc/app/plugins/functionCall.js +10 -0
- data/jsdoc/app/plugins/publishSrcHilite.js +62 -0
- data/jsdoc/app/plugins/sproutcoreTags.js +26 -0
- data/jsdoc/app/plugins/symbolLink.js +9 -0
- data/jsdoc/app/plugins/tagParamConfig.js +31 -0
- data/jsdoc/app/plugins/tagSynonyms.js +43 -0
- data/jsdoc/app/run.js +339 -137
- data/jsdoc/changes.txt +47 -0
- data/jsdoc/conf/sample.conf +31 -0
- data/jsdoc/java/build.xml +36 -0
- data/jsdoc/java/build_1.4.xml +36 -0
- data/jsdoc/java/classes/js.jar +0 -0
- data/jsdoc/java/src/JsDebugRun.java +21 -0
- data/jsdoc/java/src/JsRun.java +21 -0
- data/jsdoc/jsdebug.jar +0 -0
- data/jsdoc/jsrun.jar +0 -0
- data/jsdoc/t/TestDoc.js +144 -0
- data/jsdoc/t/runner.js +13 -0
- data/jsdoc/templates/sproutcore/allclasses.tmpl +17 -0
- data/jsdoc/templates/sproutcore/allfiles.tmpl +56 -0
- data/jsdoc/templates/sproutcore/class.tmpl +408 -326
- data/jsdoc/templates/sproutcore/index.tmpl +30 -31
- data/jsdoc/templates/sproutcore/publish.js +173 -81
- data/jsdoc/templates/sproutcore/static/default.css +191 -0
- data/jsdoc/templates/sproutcore/static/header.html +2 -0
- data/jsdoc/templates/sproutcore/static/index.html +19 -0
- data/jsdoc/templates/sproutcore/symbol.tmpl +35 -0
- data/jsdoc/test/addon.js +24 -0
- data/jsdoc/test/anon_inner.js +14 -0
- data/jsdoc/test/augments.js +31 -0
- data/jsdoc/test/augments2.js +26 -0
- data/jsdoc/test/borrows.js +41 -0
- data/jsdoc/test/borrows2.js +23 -0
- data/jsdoc/test/config.js +22 -0
- data/jsdoc/test/constructs.js +18 -0
- data/jsdoc/test/encoding.js +10 -0
- data/jsdoc/test/encoding_other.js +12 -0
- data/jsdoc/test/functions_anon.js +39 -0
- data/jsdoc/test/functions_nested.js +33 -0
- data/jsdoc/test/global.js +13 -0
- data/jsdoc/test/globals.js +25 -0
- data/jsdoc/test/ignore.js +10 -0
- data/jsdoc/test/inner.js +16 -0
- data/jsdoc/test/jsdoc_test.js +477 -0
- data/jsdoc/test/lend.js +33 -0
- data/jsdoc/test/memberof.js +20 -0
- data/jsdoc/test/memberof_constructor.js +15 -0
- data/jsdoc/test/name.js +19 -0
- data/jsdoc/test/namespace_nested.js +23 -0
- data/jsdoc/test/nocode.js +13 -0
- data/jsdoc/test/oblit_anon.js +20 -0
- data/jsdoc/test/overview.js +20 -0
- data/jsdoc/test/param_inline.js +37 -0
- data/jsdoc/test/params_optional.js +8 -0
- data/jsdoc/test/prototype.js +17 -0
- data/jsdoc/test/prototype_nested.js +9 -0
- data/jsdoc/test/prototype_oblit.js +13 -0
- data/jsdoc/test/prototype_oblit_constructor.js +24 -0
- data/jsdoc/test/public.js +10 -0
- data/jsdoc/test/shared.js +42 -0
- data/jsdoc/test/shared2.js +2 -0
- data/jsdoc/test/shortcuts.js +22 -0
- data/jsdoc/test/static_this.js +13 -0
- data/jsdoc/test/synonyms.js +23 -0
- data/jsdoc/test/tosource.js +23 -0
- data/jsdoc/test/variable_redefine.js +14 -0
- data/jsdoc/test.js +304 -0
- data/lib/sproutcore/build_tools/resource_builder.rb +6 -1
- data/lib/sproutcore/bundle_installer.rb +268 -0
- data/lib/sproutcore/jsdoc.rb +7 -6
- data/lib/sproutcore/library.rb +38 -0
- data/lib/sproutcore/merb/bundle_controller.rb +8 -4
- data/lib/sproutcore/version.rb +1 -1
- data/lib/sproutcore.rb +1 -1
- data/script/destroy +0 -0
- data/script/generate +0 -0
- data/script/txt2html +0 -0
- metadata +117 -29
- data/clients/view_builder/core.js +0 -19
- data/clients/view_builder/english.lproj/body.css +0 -149
- data/clients/view_builder/english.lproj/body.rhtml +0 -18
- data/clients/view_builder/english.lproj/strings.js +0 -14
- data/clients/view_builder/main.js +0 -37
- data/jsdoc/app/DocFile.js +0 -137
- data/jsdoc/app/DocTag.js +0 -110
- data/jsdoc/app/Doclet.js +0 -63
- data/jsdoc/app/Dumper.js +0 -143
- data/jsdoc/app/JsDoc.js +0 -103
- data/jsdoc/app/JsHilite.js +0 -45
- data/jsdoc/app/JsIO.js +0 -163
- data/jsdoc/app/JsParse.js +0 -385
- data/jsdoc/app/JsPlate.js +0 -130
- data/jsdoc/app/JsTestrun.js +0 -129
- data/jsdoc/app/JsToke.js +0 -564
- data/jsdoc/app/Symbol.js +0 -298
- data/jsdoc/app/Transformer.js +0 -14
- data/jsdoc/app/Util.js +0 -97
- data/jsdoc/app/js.jar +0 -0
- data/jsdoc/plugins/min.js +0 -316
- data/jsdoc/plugins/strip.js +0 -20
- data/jsdoc/templates/sproutcore/default.css +0 -191
- data/jsdoc/templates/sproutcore/index.html +0 -13
- data/jsdoc/templates/sproutcore/prototype.js +0 -4186
- data/jsdoc/templates/sproutcore/splash.html +0 -7
@@ -1,341 +1,423 @@
|
|
1
1
|
{!
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
if (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
function
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
if (
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
} else if (data instanceof Object) {
|
73
|
-
ret = [] ;
|
74
|
-
for(var key in data) {
|
75
|
-
if (!data.hasOwnProperty(key)) continue ;
|
76
|
-
ret.push(key + ': ' + convertToString(data[key])) ;
|
77
|
-
}
|
78
|
-
ret = '{ ' + ret.join(",\n") + ' }' ;
|
79
|
-
} else if (data.toString) ret = data.toString() ;
|
80
|
-
}
|
81
|
-
|
82
|
-
catch(e) { ret = 'EXCEPTION'; }
|
83
|
-
return ret ;
|
84
|
-
};
|
2
|
+
rowClass = 'even';
|
3
|
+
function resetRowClass() { rowClass = 'even'; };
|
4
|
+
|
5
|
+
function nextRowClass() {
|
6
|
+
var ret = rowClass ;
|
7
|
+
rowClass = (rowClass == 'even') ? 'odd' : 'even' ;
|
8
|
+
return ret ;
|
9
|
+
} ;
|
10
|
+
|
11
|
+
function summarize(desc) {
|
12
|
+
if (typeof desc != "undefined")
|
13
|
+
return desc.match(/([\w\W]+?\.)[^a-z0-9]/i)? RegExp.$1 : desc;
|
14
|
+
};
|
15
|
+
|
16
|
+
function htmlize(desc, stripSummary) {
|
17
|
+
if (stripSummary === undefined) stripSummary = true;
|
18
|
+
if (stripSummary) {
|
19
|
+
var summary = summarize(desc);
|
20
|
+
desc = (summary && summary.length > 0) ? desc.slice(summary.length, desc.length) : desc ;
|
21
|
+
}
|
22
|
+
|
23
|
+
return superTextile(desc);
|
24
|
+
};
|
25
|
+
|
26
|
+
function constantText(p) {
|
27
|
+
return '<code><span class="type">' + (p.type||"Object") + '</span>' + ' <span class="name">' + p.name + '</span></code>' ;
|
28
|
+
};
|
29
|
+
|
30
|
+
function propertyText(p) {
|
31
|
+
var ret = '';
|
32
|
+
|
33
|
+
ret += (p.isStatic || !p.memberOf) ? '+' : '-' ;
|
34
|
+
ret += ' (';
|
35
|
+
ret += (p.isPrivate) ? 'private ' : '';
|
36
|
+
ret += p.type || 'Object' ;
|
37
|
+
ret += ') ' + p.name ;
|
38
|
+
|
39
|
+
return '<code>' + ret + '</code>' ;
|
40
|
+
};
|
41
|
+
|
42
|
+
function isUsefulParam(param) {
|
43
|
+
if (!param) return false ;
|
44
|
+
if (param.type && param.type.length > 0) return true ;
|
45
|
+
if (param.desc && param.desc.length > 0) return true ;
|
46
|
+
return false ;
|
47
|
+
} ;
|
48
|
+
|
49
|
+
function hasUsefulParams(params) {
|
50
|
+
if (!params || !params.length) return false ;
|
51
|
+
var idx = params.length;
|
52
|
+
while(--idx >= 0) {
|
53
|
+
var param = params[idx] ;
|
54
|
+
if (isUsefulParam(param)) return true ;
|
55
|
+
}
|
56
|
+
return false ;
|
57
|
+
};
|
58
|
+
|
59
|
+
function relativeSrcPath(path) {
|
60
|
+
var parts = path.split('/') ;
|
61
|
+
|
62
|
+
var rootIndex = parts.indexOf('frameworks') ;
|
63
|
+
if (rootIndex < 0) rootIndex = parts.indexOf('clients') ;
|
64
|
+
|
65
|
+
if (rootIndex < 0) {
|
66
|
+
return parts[parts.length - 2] ;
|
67
|
+
|
68
|
+
} else {
|
69
|
+
return parts.slice(rootIndex, parts.length).join('/') ;
|
70
|
+
}
|
71
|
+
};
|
85
72
|
|
86
73
|
!}
|
74
|
+
|
87
75
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
88
76
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
89
77
|
<html>
|
90
78
|
<head>
|
91
|
-
|
92
|
-
|
93
|
-
|
79
|
+
<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
|
80
|
+
<meta name="generator" content="JsDoc Toolkit" />
|
81
|
+
{! Link.base = "../"; /* all generated links will be relative to this */ !}
|
82
|
+
<title>JsDoc: {+data.alias+}</title>
|
94
83
|
</head>
|
95
84
|
|
96
|
-
<
|
85
|
+
<style type="text/css">
|
86
|
+
{+include("static/default.css")+}
|
87
|
+
</style>
|
97
88
|
|
98
|
-
<
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<if test="
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
</
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
</
|
146
|
-
</if>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<
|
151
|
-
<
|
152
|
-
|
153
|
-
</
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<
|
158
|
-
<
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
<
|
166
|
-
|
167
|
-
</
|
168
|
-
</
|
169
|
-
|
170
|
-
</
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<if test="
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
</if>
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
<
|
198
|
-
|
199
|
-
|
200
|
-
<
|
201
|
-
<
|
202
|
-
<
|
203
|
-
<
|
204
|
-
|
205
|
-
<
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
</
|
210
|
-
</
|
211
|
-
|
212
|
-
</
|
213
|
-
</
|
214
|
-
</if>
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
<
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
<
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
</
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<
|
246
|
-
<
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
<
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
89
|
+
<body class="sc-theme sc-doc">
|
90
|
+
<h1>
|
91
|
+
{!
|
92
|
+
var classType = "";
|
93
|
+
|
94
|
+
if (data.isBuiltin()) {
|
95
|
+
classType += "Built-In ";
|
96
|
+
}
|
97
|
+
|
98
|
+
if (data.isNamespace) {
|
99
|
+
if (data.is('FUNCTION')) {
|
100
|
+
classType += "Function ";
|
101
|
+
}
|
102
|
+
classType += "Namespace ";
|
103
|
+
}
|
104
|
+
else {
|
105
|
+
classType += "Class ";
|
106
|
+
}
|
107
|
+
!}
|
108
|
+
{+classType+}{+data.alias+}
|
109
|
+
</h1>
|
110
|
+
|
111
|
+
<table class="summary">
|
112
|
+
{! resetRowClass(); !}
|
113
|
+
|
114
|
+
<if test="data.deprecated">
|
115
|
+
<tr class="{+ nextRowClass() +}">
|
116
|
+
<td class="label">Deprecated:</td>
|
117
|
+
<td class="value">
|
118
|
+
{+htmlize(thisClass.deprecated.desc)+}
|
119
|
+
</td>
|
120
|
+
</tr>
|
121
|
+
</if>
|
122
|
+
|
123
|
+
<if test="data.augments.length">
|
124
|
+
<tr class="{+ nextRowClass() +}">
|
125
|
+
<td class="label">Extends:</td>
|
126
|
+
<td class="value">
|
127
|
+
{+
|
128
|
+
data.augments
|
129
|
+
.sort()
|
130
|
+
.map(
|
131
|
+
function($) { return new Link().toSymbol($); }
|
132
|
+
)
|
133
|
+
.join(", ")
|
134
|
+
+}
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
</if>
|
138
|
+
|
139
|
+
<if test="!data.isBuiltin()">
|
140
|
+
<tr class="{+ nextRowClass() +}">
|
141
|
+
<td class="label">Defined in:</td>
|
142
|
+
<td class="value">{+new Link().toSrc(data.srcFile).withText(relativeSrcPath(data.srcFile))+}</td>
|
143
|
+
</tr>
|
144
|
+
</if>
|
145
|
+
|
146
|
+
<if test="data.since">
|
147
|
+
<tr class="{+ nextRowClass() +}">
|
148
|
+
<td class="label">Availability:</td>
|
149
|
+
<td class="value">
|
150
|
+
since {+data.since+}
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
</if>
|
154
|
+
|
155
|
+
<if test="data.version">
|
156
|
+
<tr class="{+ nextRowClass() +}">
|
157
|
+
<td class="label">Version:</td>
|
158
|
+
<td class="value">{+data.version+}</td>
|
159
|
+
</tr>
|
160
|
+
</if>
|
161
|
+
</table>
|
162
|
+
|
163
|
+
<if test="data.classDesc">
|
164
|
+
<div class="description">
|
165
|
+
{+htmlize(data.classDesc, false)+}
|
166
|
+
</div>
|
167
|
+
</if>
|
168
|
+
|
169
|
+
<!-- ============================== properties summary ===================== -->
|
170
|
+
<if test="data.properties.length">
|
171
|
+
{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
|
172
|
+
{! var ownConstants = ownProperties.filter(function($){return $.isConstant}).sort(makeSortby("name")); !}
|
173
|
+
<if test="ownConstants.length">
|
174
|
+
<div class="field-summary summary">
|
175
|
+
<h2>Constants</h2>
|
176
|
+
<ul>
|
177
|
+
<for each="member" in="ownConstants">
|
178
|
+
<li>
|
179
|
+
{+new Link().toSymbol(member.alias).withText(constantText(member))+}
|
180
|
+
<if test="member.desc">
|
181
|
+
<div class="description">{+summarize(member.desc)+}</div>
|
182
|
+
</if>
|
183
|
+
</li>
|
184
|
+
</for>
|
185
|
+
</ul>
|
186
|
+
</div>
|
187
|
+
</if>
|
188
|
+
<if test="ownProperties.length">
|
189
|
+
<div class="field-summary summary">
|
190
|
+
<h2>Property Summary</h2>
|
191
|
+
<ul>
|
192
|
+
<for each="member" in="ownProperties">
|
193
|
+
<if test="!(member.isConstant)">
|
194
|
+
<li>
|
195
|
+
{+new Link().toSymbol(member.alias).withText(propertyText(member))+}
|
196
|
+
<if test="member.desc">
|
197
|
+
<div class="description">{+summarize(member.desc)+}</div>
|
198
|
+
</if>
|
199
|
+
</li>
|
200
|
+
</if>
|
201
|
+
</for>
|
202
|
+
</ul>
|
203
|
+
</div>
|
204
|
+
</if>
|
205
|
+
</if>
|
206
|
+
|
207
|
+
<if test="data.inheritsFrom.length">
|
208
|
+
<dl class="inheritsList">
|
209
|
+
{!
|
210
|
+
var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
|
211
|
+
|
212
|
+
var contributers = [];
|
213
|
+
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
|
214
|
+
for (var i = 0, l = contributers.length; i < l; i++) {
|
215
|
+
output +=
|
216
|
+
"<dt>Properties borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
|
217
|
+
+
|
218
|
+
"<dd>" +
|
219
|
+
borrowedMembers
|
220
|
+
.filter(
|
221
|
+
function($) { return $.memberOf == contributers[i] }
|
222
|
+
)
|
223
|
+
.sort(makeSortby("name"))
|
224
|
+
.map(
|
225
|
+
function($) { return new Link().toSymbol($.alias).withText($.name) }
|
226
|
+
)
|
227
|
+
.join(", ")
|
228
|
+
+
|
229
|
+
"</dd>";
|
230
|
+
}
|
231
|
+
!}
|
232
|
+
</dl>
|
233
|
+
</if>
|
234
|
+
|
235
|
+
<!-- ============================== methods summary ======================== -->
|
236
|
+
<if test="data.methods.length">
|
237
|
+
<h2>Method Summary</h2>
|
238
|
+
{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
|
239
|
+
<if test="ownMethods.length">
|
240
|
+
<div class="method-summary summary">
|
241
|
+
<ul>
|
242
|
+
<for each="method" in="ownMethods">
|
243
|
+
<li>
|
244
|
+
<a href="#{+method.alias+}">
|
245
|
+
<code class="type">
|
246
|
+
<if test="method.isStatic||!method.memberOf">+</if>
|
247
|
+
<if test="!(method.isStatic||!method.memberOf)">-</if>
|
248
|
+
<if test="method.isPrivate">private </if>
|
249
|
+
<if test="method.returns.length">
|
250
|
+
<for each="ret" in="method.returns">
|
251
|
+
{+ret.type+}
|
252
|
+
</for>
|
253
|
+
</if>
|
254
|
+
{+method.name+}{+makeSignature(method.params)+}
|
255
|
+
</code>
|
256
|
+
</a>
|
257
|
+
<if test="method.desc">
|
258
|
+
<div class="description">{+summarize(method.desc)+}</div>
|
259
|
+
</if>
|
260
|
+
</li>
|
261
|
+
</for>
|
262
|
+
</ul>
|
263
|
+
</div>
|
264
|
+
</if>
|
265
|
+
|
266
|
+
<if test="data.inheritsFrom.length">
|
267
|
+
<dl class="inheritsList">
|
268
|
+
{!
|
269
|
+
var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
|
270
|
+
var contributers = [];
|
271
|
+
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
|
272
|
+
for (var i = 0, l = contributers.length; i < l; i++) {
|
273
|
+
output +=
|
274
|
+
"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
|
275
|
+
+
|
276
|
+
"<dd>" +
|
277
|
+
borrowedMembers
|
278
|
+
.filter(
|
279
|
+
function($) { return $.memberOf == contributers[i] }
|
280
|
+
)
|
281
|
+
.sort(makeSortby("name"))
|
282
|
+
.map(
|
283
|
+
function($) { return new Link().toSymbol($.alias).withText($.name) }
|
284
|
+
)
|
285
|
+
.join(", ")
|
286
|
+
+
|
287
|
+
"</dd>";
|
288
|
+
}
|
289
|
+
|
290
|
+
!}
|
291
|
+
</dl>
|
292
|
+
</if>
|
293
|
+
</if>
|
294
|
+
|
295
|
+
<!-- ============================== field details ========================== -->
|
296
|
+
<if test="defined(ownProperties) && ownProperties.length">
|
297
|
+
<div class="field-detail detail">
|
298
|
+
<a name="field_detail"><h2>Property Details</h2></a>
|
299
|
+
<for each="property" in="ownProperties">
|
300
|
+
<if test="!(property.isConstant)">
|
301
|
+
<!-- One single method detail entry -->
|
302
|
+
<div class="field">
|
303
|
+
<a name="{+Link.symbolNameToLinkName(property)+}"></a>
|
304
|
+
<h3>{+property.name+}</h3>
|
305
|
+
<p class="summary">{+summarize(property.desc)+}</p>
|
306
|
+
|
307
|
+
<if test="property.deprecated">
|
308
|
+
<p class="deprecated">Deprecated {+property.deprecated+}</p>
|
309
|
+
</if>
|
310
|
+
|
311
|
+
<p class="signature">
|
312
|
+
<if test="property.isStatic||!property.memberOf">+</if>
|
313
|
+
<if test="!(property.isStatic||!property.memberOf)">-</if>
|
314
|
+
|
315
|
+
<span class="type">
|
316
|
+
<if test="property.isPrivate">private </if>
|
317
|
+
{+(property.type||"Object")+}
|
318
|
+
</span>
|
319
|
+
<span class="name">{+property.name+}</span>
|
320
|
+
</p>
|
321
|
+
|
322
|
+
<if test="property.desc">
|
323
|
+
<h5>Discussion</h5>
|
324
|
+
<div class="description">
|
325
|
+
{+htmlize(property.desc)+}
|
326
|
+
</div>
|
327
|
+
</if>
|
328
|
+
|
329
|
+
<if test="property.since">
|
330
|
+
<h5>Availability</h5>
|
331
|
+
<div class="since">since {+property.since+}</div>
|
332
|
+
</if>
|
333
|
+
</div>
|
286
334
|
</if>
|
287
|
-
</if>
|
288
|
-
</for>
|
289
|
-
</if>
|
290
|
-
<!-- METHOD PARAMETERS END -->
|
291
|
-
|
292
|
-
<!-- ADDITIONAL ATTRIBUTES START -->
|
293
|
-
<if test="method.returns.length">
|
294
|
-
<h5>Return Value</h5>
|
295
|
-
<for each="ret" in="method.returns">
|
296
|
-
<p class="return-value">
|
297
|
-
<if test="ret.type"><span class="type">{+ret.type+}</span> - </if>
|
298
|
-
<span class="description">{+ret.desc+}</span>
|
299
|
-
</p>
|
300
335
|
</for>
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
336
|
+
</div>
|
337
|
+
</if>
|
338
|
+
|
339
|
+
<!-- ============================== method details ========================= -->
|
340
|
+
<if test="defined(ownMethods) && ownMethods.length">
|
341
|
+
<div class="method-detail detail">
|
342
|
+
<a name="method_detail"><h2>Method Details</h2></a>
|
343
|
+
<for each="method" in="ownMethods">
|
344
|
+
<!-- One single method detail entry -->
|
345
|
+
<div class="method">
|
346
|
+
<a name="{+method.alias+}"></a>
|
347
|
+
<h3>{+method.name+}()</h3>
|
348
|
+
<p class="summary">{+summarize(method.desc)+}</p>
|
349
|
+
|
350
|
+
<if test="method.deprecated">
|
351
|
+
<p class="deprecated">Deprecated {+method.deprecated+}</p>
|
352
|
+
</if>
|
353
|
+
|
354
|
+
<p class="signature">
|
355
|
+
<if test="method.isStatic||!method.memberOf">+</if>
|
356
|
+
<if test="!(method.isStatic||!method.memberOf)">-</if>
|
357
|
+
|
358
|
+
<span class="type">
|
359
|
+
<if test="method.isPrivate">private </if>
|
360
|
+
<if test="method.returns.length">
|
361
|
+
<for each="ret" in="method.returns">
|
362
|
+
{+ret.type+}
|
363
|
+
</for>
|
364
|
+
</if>
|
365
|
+
</span>
|
366
|
+
<span class="name">{+method.name+}</span>
|
367
|
+
<span class="params">{+makeSignature(method.params)+}</span>
|
368
|
+
</p>
|
369
|
+
|
370
|
+
<!-- METHOD PARAMETERS START -->
|
371
|
+
<if test="hasUsefulParams(method.params)">
|
372
|
+
<h5>Parameters</h5>
|
373
|
+
<for each="param" in="method.params">
|
374
|
+
<if test="isUsefulParam(param)">
|
375
|
+
<dt><if test="param.type"><span class="type">{+param.type+}</span> </if><span class="name">{+param.name+} </span></dt>
|
376
|
+
<if test="param.desc">
|
377
|
+
<dd>{+htmlize(param.desc)+}</dd>
|
378
|
+
</if>
|
379
|
+
</if>
|
380
|
+
</for>
|
381
|
+
</if>
|
382
|
+
<!-- METHOD PARAMETERS END -->
|
383
|
+
|
384
|
+
<!-- ADDITIONAL ATTRIBUTES START -->
|
385
|
+
<if test="method.returns.length">
|
386
|
+
<h5>Return Value</h5>
|
387
|
+
<for each="ret" in="method.returns">
|
388
|
+
<p class="return-value">
|
389
|
+
<if test="ret.type"><span class="type">{+ret.type+}</span> - </if>
|
390
|
+
<span class="description">{+htmlize(ret.desc)+}</span>
|
391
|
+
</p>
|
392
|
+
</for>
|
393
|
+
</if>
|
394
|
+
|
395
|
+
<if test="method.exceptions.length">
|
396
|
+
<h5>Throws Exceptions</h5>
|
397
|
+
<for each="ex" in="method.exceptions">
|
398
|
+
<p class="exception">
|
399
|
+
<if test="ex.type"><span class="type">{+ex.type+}</span> - </if>
|
400
|
+
<span class="description">{+htmlize(ex.desc)+}</span>
|
401
|
+
</p>
|
402
|
+
</for>
|
403
|
+
</if>
|
404
|
+
<!-- ADDITIONAL ATTRIBUTES END -->
|
405
|
+
|
406
|
+
<h5>Discussion</h5>
|
407
|
+
<div class="description">
|
408
|
+
{+htmlize(method.desc)+}
|
409
|
+
</div>
|
410
|
+
|
411
|
+
<if test="method.since">
|
412
|
+
<h5>Availability</h5>
|
413
|
+
<div class="since">since {+method.since+}</div>
|
414
|
+
</if>
|
415
|
+
</div>
|
323
416
|
</for>
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
</for>
|
331
|
-
|
332
|
-
</div>
|
333
|
-
</if>
|
334
|
-
<!-- ============ METHOD DETAIL END ========== -->
|
335
|
-
|
336
|
-
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoctoolkit.org/" target="_parent">JsDoc Toolkit</a> {+JsDoc.VERSION+} on {+new Date()+}</div>
|
337
|
-
|
338
|
-
<script src="prototype.js"></script>
|
339
|
-
|
417
|
+
</div>
|
418
|
+
</if>
|
419
|
+
|
420
|
+
<!-- ============================== footer ================================= -->
|
421
|
+
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoctoolkit.org/" target="_parent">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}</div>
|
340
422
|
</body>
|
341
423
|
</html>
|