sproutcore 1.6.0.rc.1-x86-mingw32 → 1.6.0.rc.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +31 -6
- data/{History.txt → History.rdoc} +0 -0
- data/{README.txt → README.rdoc} +3 -2
- data/Rakefile +15 -15
- data/{Todo.txt → Todo.rdoc} +0 -0
- data/VERSION.yml +1 -1
- data/lib/buildtasks/manifest.rake +11 -4
- data/lib/buildtasks/target.rake +20 -23
- data/lib/frameworks/sproutcore/CHANGELOG.md +36 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/core.js +2 -42
- data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/bind.js +2 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/collection.js +3 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/checkbox_support.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/text_field_support.js +29 -12
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/template_helpers/text_field_support.js +9 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/collection.js +110 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +63 -26
- data/lib/frameworks/sproutcore/frameworks/datastore/system/child_array.js +25 -5
- data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +26 -3
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/core_methods.js +74 -53
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +6 -7
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js +6 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +25 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/methods.js +1 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/ui.js +20 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/tab.js +46 -49
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/ui.js +23 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +14 -2
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffered.js +2 -76
- data/lib/frameworks/sproutcore/frameworks/jquery/jquery.js +3348 -1591
- data/lib/frameworks/sproutcore/frameworks/runtime/core.js +25 -5
- data/lib/frameworks/sproutcore/frameworks/runtime/system/index_set.js +0 -3
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/objectForPropertyPath.js +10 -5
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/requiredObjectForPropertyPath.js +29 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue.js +98 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +2 -2
- data/lib/frameworks/sproutcore/themes/ace/resources/split/split.css +1 -1
- data/lib/gen/language/Buildfile +1 -1
- data/lib/sproutcore.rb +1 -14
- data/lib/sproutcore/buildfile/string_ext.rb +0 -4
- data/lib/sproutcore/helpers/cssmin.rb +44 -59
- data/lib/sproutcore/helpers/text_helper.rb +11 -13
- data/lib/sproutcore/models/manifest.rb +4 -4
- data/lib/sproutcore/models/target.rb +11 -110
- data/lib/sproutcore/rack.rb +0 -1
- data/lib/sproutcore/rack/dev.rb +0 -1
- data/lib/sproutcore/rack/proxy.rb +9 -8
- data/lib/sproutcore/rack/service.rb +1 -1
- data/lib/sproutcore/render_engines/haml.rb +2 -5
- data/lib/sproutcore/tools/build.rb +2 -0
- data/lib/sproutcore/tools/docs.rb +7 -36
- data/lib/sproutcore/tools/manifest.rb +1 -1
- data/spec/buildtasks/target_spec.rb +9 -0
- data/spec/fixtures/real_world/frameworks/sproutcore/Buildfile +1 -1
- data/sproutcore.gemspec +3 -4
- data/vendor/chance/lib/chance/instance.rb +5 -8
- metadata +41 -207
- data/lib/doc_templates/jsdoc/allclasses.tmpl +0 -17
- data/lib/doc_templates/jsdoc/allfiles.tmpl +0 -56
- data/lib/doc_templates/jsdoc/class.tmpl +0 -487
- data/lib/doc_templates/jsdoc/index.tmpl +0 -38
- data/lib/doc_templates/jsdoc/publish.js +0 -170
- data/lib/doc_templates/jsdoc/static/default.css +0 -162
- data/lib/doc_templates/jsdoc/static/header.html +0 -2
- data/lib/doc_templates/jsdoc/static/index.html +0 -19
- data/lib/doc_templates/jsdoc/symbol.tmpl +0 -35
- data/lib/doc_templates/sproutcore/allclasses.tmpl +0 -0
- data/lib/doc_templates/sproutcore/allfiles.tmpl +0 -56
- data/lib/doc_templates/sproutcore/class.tmpl +0 -674
- data/lib/doc_templates/sproutcore/classes-json.tmpl +0 -55
- data/lib/doc_templates/sproutcore/index.tmpl +0 -62
- data/lib/doc_templates/sproutcore/publish.js +0 -346
- data/lib/doc_templates/sproutcore/static/default.css +0 -258
- data/lib/doc_templates/sproutcore/static/header.html +0 -2
- data/lib/doc_templates/sproutcore/static/index.html +0 -19
- data/lib/doc_templates/sproutcore/symbol.tmpl +0 -35
- data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue/isObservingSuspended.js +0 -55
- data/lib/sproutcore/rack/docs.rb +0 -24
- data/spec/fixtures/real_world/frameworks/sproutcore/apps/docs/PLACEHOLDER +0 -0
- data/vendor/jsdoc/README.txt +0 -151
- data/vendor/jsdoc/app/frame.js +0 -33
- data/vendor/jsdoc/app/frame/Chain.js +0 -102
- data/vendor/jsdoc/app/frame/Dumper.js +0 -144
- data/vendor/jsdoc/app/frame/Hash.js +0 -47
- data/vendor/jsdoc/app/frame/Link.js +0 -142
- data/vendor/jsdoc/app/frame/Namespace.js +0 -10
- data/vendor/jsdoc/app/frame/Opt.js +0 -134
- data/vendor/jsdoc/app/frame/Reflection.js +0 -26
- data/vendor/jsdoc/app/frame/String.js +0 -93
- data/vendor/jsdoc/app/frame/Testrun.js +0 -129
- data/vendor/jsdoc/app/handlers/FOODOC.js +0 -26
- data/vendor/jsdoc/app/handlers/XMLDOC.js +0 -26
- data/vendor/jsdoc/app/handlers/XMLDOC/DomReader.js +0 -159
- data/vendor/jsdoc/app/handlers/XMLDOC/XMLDoc.js +0 -16
- data/vendor/jsdoc/app/handlers/XMLDOC/XMLParse.js +0 -292
- data/vendor/jsdoc/app/lib/JSDOC.js +0 -98
- data/vendor/jsdoc/app/lib/JSDOC/DocComment.js +0 -200
- data/vendor/jsdoc/app/lib/JSDOC/DocTag.js +0 -294
- data/vendor/jsdoc/app/lib/JSDOC/JsDoc.js +0 -162
- data/vendor/jsdoc/app/lib/JSDOC/JsPlate.js +0 -100
- data/vendor/jsdoc/app/lib/JSDOC/Lang.js +0 -144
- data/vendor/jsdoc/app/lib/JSDOC/Parser.js +0 -109
- data/vendor/jsdoc/app/lib/JSDOC/PluginManager.js +0 -33
- data/vendor/jsdoc/app/lib/JSDOC/Symbol.js +0 -681
- data/vendor/jsdoc/app/lib/JSDOC/SymbolSet.js +0 -226
- data/vendor/jsdoc/app/lib/JSDOC/TextStream.js +0 -41
- data/vendor/jsdoc/app/lib/JSDOC/Token.js +0 -18
- data/vendor/jsdoc/app/lib/JSDOC/TokenReader.js +0 -332
- data/vendor/jsdoc/app/lib/JSDOC/TokenStream.js +0 -133
- data/vendor/jsdoc/app/lib/JSDOC/Util.js +0 -32
- data/vendor/jsdoc/app/lib/JSDOC/Walker.js +0 -453
- data/vendor/jsdoc/app/main.js +0 -74
- data/vendor/jsdoc/app/plugins/commentSrcJson.js +0 -19
- data/vendor/jsdoc/app/plugins/frameworkPrototype.js +0 -16
- data/vendor/jsdoc/app/plugins/functionCall.js +0 -10
- data/vendor/jsdoc/app/plugins/publishSrcHilite.js +0 -62
- data/vendor/jsdoc/app/plugins/sproutcoreTags.js +0 -26
- data/vendor/jsdoc/app/plugins/symbolLink.js +0 -9
- data/vendor/jsdoc/app/plugins/tagParamConfig.js +0 -31
- data/vendor/jsdoc/app/plugins/tagSynonyms.js +0 -43
- data/vendor/jsdoc/app/run.js +0 -346
- data/vendor/jsdoc/app/t/TestDoc.js +0 -144
- data/vendor/jsdoc/app/t/runner.js +0 -13
- data/vendor/jsdoc/app/test.js +0 -304
- data/vendor/jsdoc/app/test/addon.js +0 -24
- data/vendor/jsdoc/app/test/anon_inner.js +0 -14
- data/vendor/jsdoc/app/test/augments.js +0 -31
- data/vendor/jsdoc/app/test/augments2.js +0 -26
- data/vendor/jsdoc/app/test/borrows.js +0 -41
- data/vendor/jsdoc/app/test/borrows2.js +0 -23
- data/vendor/jsdoc/app/test/config.js +0 -22
- data/vendor/jsdoc/app/test/constructs.js +0 -18
- data/vendor/jsdoc/app/test/encoding.js +0 -10
- data/vendor/jsdoc/app/test/encoding_other.js +0 -12
- data/vendor/jsdoc/app/test/functions_anon.js +0 -39
- data/vendor/jsdoc/app/test/functions_nested.js +0 -33
- data/vendor/jsdoc/app/test/global.js +0 -13
- data/vendor/jsdoc/app/test/globals.js +0 -25
- data/vendor/jsdoc/app/test/ignore.js +0 -10
- data/vendor/jsdoc/app/test/inner.js +0 -16
- data/vendor/jsdoc/app/test/jsdoc_test.js +0 -477
- data/vendor/jsdoc/app/test/lend.js +0 -33
- data/vendor/jsdoc/app/test/memberof.js +0 -20
- data/vendor/jsdoc/app/test/memberof_constructor.js +0 -15
- data/vendor/jsdoc/app/test/name.js +0 -19
- data/vendor/jsdoc/app/test/namespace_nested.js +0 -23
- data/vendor/jsdoc/app/test/nocode.js +0 -13
- data/vendor/jsdoc/app/test/oblit_anon.js +0 -20
- data/vendor/jsdoc/app/test/overview.js +0 -20
- data/vendor/jsdoc/app/test/param_inline.js +0 -37
- data/vendor/jsdoc/app/test/params_optional.js +0 -8
- data/vendor/jsdoc/app/test/prototype.js +0 -17
- data/vendor/jsdoc/app/test/prototype_nested.js +0 -9
- data/vendor/jsdoc/app/test/prototype_oblit.js +0 -13
- data/vendor/jsdoc/app/test/prototype_oblit_constructor.js +0 -24
- data/vendor/jsdoc/app/test/public.js +0 -10
- data/vendor/jsdoc/app/test/shared.js +0 -42
- data/vendor/jsdoc/app/test/shared2.js +0 -2
- data/vendor/jsdoc/app/test/shortcuts.js +0 -22
- data/vendor/jsdoc/app/test/static_this.js +0 -13
- data/vendor/jsdoc/app/test/synonyms.js +0 -23
- data/vendor/jsdoc/app/test/tosource.js +0 -23
- data/vendor/jsdoc/app/test/variable_redefine.js +0 -14
- data/vendor/jsdoc/changes.txt +0 -47
- data/vendor/jsdoc/conf/sample.conf +0 -31
- data/vendor/jsdoc/java/build.xml +0 -36
- data/vendor/jsdoc/java/build_1.4.xml +0 -36
- data/vendor/jsdoc/java/classes/js.jar +0 -0
- data/vendor/jsdoc/java/src/JsDebugRun.java +0 -21
- data/vendor/jsdoc/java/src/JsRun.java +0 -21
- data/vendor/jsdoc/jsdebug.jar +0 -0
- data/vendor/jsdoc/jsrun.jar +0 -0
- data/vendor/jsdoc/t/TestDoc.js +0 -144
- data/vendor/jsdoc/t/runner.js +0 -13
- data/vendor/jsdoc/test.js +0 -304
- data/vendor/jsdoc/test/addon.js +0 -24
- data/vendor/jsdoc/test/anon_inner.js +0 -14
- data/vendor/jsdoc/test/augments.js +0 -31
- data/vendor/jsdoc/test/augments2.js +0 -26
- data/vendor/jsdoc/test/borrows.js +0 -41
- data/vendor/jsdoc/test/borrows2.js +0 -23
- data/vendor/jsdoc/test/config.js +0 -22
- data/vendor/jsdoc/test/constructs.js +0 -18
- data/vendor/jsdoc/test/encoding.js +0 -10
- data/vendor/jsdoc/test/encoding_other.js +0 -12
- data/vendor/jsdoc/test/functions_anon.js +0 -39
- data/vendor/jsdoc/test/functions_nested.js +0 -33
- data/vendor/jsdoc/test/global.js +0 -13
- data/vendor/jsdoc/test/globals.js +0 -25
- data/vendor/jsdoc/test/ignore.js +0 -10
- data/vendor/jsdoc/test/inner.js +0 -16
- data/vendor/jsdoc/test/jsdoc_test.js +0 -477
- data/vendor/jsdoc/test/lend.js +0 -33
- data/vendor/jsdoc/test/memberof.js +0 -20
- data/vendor/jsdoc/test/memberof_constructor.js +0 -15
- data/vendor/jsdoc/test/name.js +0 -19
- data/vendor/jsdoc/test/namespace_nested.js +0 -23
- data/vendor/jsdoc/test/nocode.js +0 -13
- data/vendor/jsdoc/test/oblit_anon.js +0 -20
- data/vendor/jsdoc/test/overview.js +0 -20
- data/vendor/jsdoc/test/param_inline.js +0 -37
- data/vendor/jsdoc/test/params_optional.js +0 -8
- data/vendor/jsdoc/test/prototype.js +0 -17
- data/vendor/jsdoc/test/prototype_nested.js +0 -9
- data/vendor/jsdoc/test/prototype_oblit.js +0 -13
- data/vendor/jsdoc/test/prototype_oblit_constructor.js +0 -24
- data/vendor/jsdoc/test/public.js +0 -10
- data/vendor/jsdoc/test/shared.js +0 -42
- data/vendor/jsdoc/test/shared2.js +0 -2
- data/vendor/jsdoc/test/shortcuts.js +0 -22
- data/vendor/jsdoc/test/static_this.js +0 -13
- data/vendor/jsdoc/test/synonyms.js +0 -23
- data/vendor/jsdoc/test/tosource.js +0 -23
- data/vendor/jsdoc/test/variable_redefine.js +0 -14
@@ -1,674 +0,0 @@
|
|
1
|
-
{!
|
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
|
-
if(p.isReadOnly)
|
40
|
-
{
|
41
|
-
ret += ' [R/O]';
|
42
|
-
}
|
43
|
-
else
|
44
|
-
{
|
45
|
-
ret += ' [R/W]';
|
46
|
-
}
|
47
|
-
|
48
|
-
return '<code>' + ret + '</code>' ;
|
49
|
-
};
|
50
|
-
|
51
|
-
function isUsefulParam(param) {
|
52
|
-
if (!param) return false ;
|
53
|
-
if (param.type && param.type.length > 0) return true ;
|
54
|
-
if (param.desc && param.desc.length > 0) return true ;
|
55
|
-
return false ;
|
56
|
-
} ;
|
57
|
-
|
58
|
-
function hasUsefulParams(params) {
|
59
|
-
if (!params || !params.length) return false ;
|
60
|
-
var idx = params.length;
|
61
|
-
while(--idx >= 0) {
|
62
|
-
var param = params[idx] ;
|
63
|
-
if (isUsefulParam(param)) return true ;
|
64
|
-
}
|
65
|
-
return false ;
|
66
|
-
};
|
67
|
-
|
68
|
-
function relativeSrcPath(path) {
|
69
|
-
var parts = path.split('/') ;
|
70
|
-
|
71
|
-
var rootIndex = parts.indexOf('frameworks') ;
|
72
|
-
if (rootIndex < 0) rootIndex = parts.indexOf('clients') ;
|
73
|
-
|
74
|
-
if (rootIndex < 0) {
|
75
|
-
return parts[parts.length - 2] ;
|
76
|
-
|
77
|
-
} else {
|
78
|
-
return parts.slice(rootIndex, parts.length).join('/') ;
|
79
|
-
}
|
80
|
-
};
|
81
|
-
|
82
|
-
!}
|
83
|
-
|
84
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
85
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
86
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
87
|
-
<head>
|
88
|
-
<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
|
89
|
-
<meta name="generator" content="JsDoc Toolkit" />
|
90
|
-
{! Link.base = "../"; /* all generated links will be relative to this */ !}
|
91
|
-
<title>JsDoc Reference - {+data.alias+}</title>
|
92
|
-
|
93
|
-
<style type="text/css">
|
94
|
-
{+include("static/default.css")+}
|
95
|
-
</style>
|
96
|
-
</head>
|
97
|
-
|
98
|
-
<body class="sc-doc">
|
99
|
-
|
100
|
-
<div id="content">
|
101
|
-
|
102
|
-
<h1>
|
103
|
-
{!
|
104
|
-
var classType = "";
|
105
|
-
|
106
|
-
if (data.isBuiltin()) {
|
107
|
-
classType += "Built-In ";
|
108
|
-
}
|
109
|
-
|
110
|
-
if (data.isNamespace) {
|
111
|
-
if (data.is('FUNCTION')) {
|
112
|
-
classType += "Function ";
|
113
|
-
}
|
114
|
-
classType += "Namespace ";
|
115
|
-
}
|
116
|
-
else {
|
117
|
-
classType += "Class ";
|
118
|
-
}
|
119
|
-
!}
|
120
|
-
{+classType+}{+data.alias+}
|
121
|
-
</h1>
|
122
|
-
|
123
|
-
<table class="summary">
|
124
|
-
{! resetRowClass(); !}
|
125
|
-
|
126
|
-
<if test="data.deprecated">
|
127
|
-
<tr class="{+ nextRowClass() +}">
|
128
|
-
<td class="label">Deprecated:</td>
|
129
|
-
<td class="value">
|
130
|
-
{+htmlize(thisClass.deprecated.desc)+}
|
131
|
-
</td>
|
132
|
-
</tr>
|
133
|
-
</if>
|
134
|
-
|
135
|
-
<if test="data.augments.length">
|
136
|
-
<tr class="{+ nextRowClass() +}">
|
137
|
-
<td class="label">Extends:</td>
|
138
|
-
<td class="value">
|
139
|
-
{+
|
140
|
-
data.augments
|
141
|
-
.sort()
|
142
|
-
.map(
|
143
|
-
function($) { return new Link().toSymbol($); }
|
144
|
-
)
|
145
|
-
.join(", ")
|
146
|
-
+}
|
147
|
-
</td>
|
148
|
-
</tr>
|
149
|
-
</if>
|
150
|
-
|
151
|
-
<if test="!data.isBuiltin()">
|
152
|
-
<tr class="{+ nextRowClass() +}">
|
153
|
-
<td class="label">Defined in:</td>
|
154
|
-
<td class="value">{+new Link().toSrc(data.srcFile).withText(relativeSrcPath(data.srcFile))+}</td>
|
155
|
-
</tr>
|
156
|
-
</if>
|
157
|
-
|
158
|
-
<if test="data.since">
|
159
|
-
<tr class="{+ nextRowClass() +}">
|
160
|
-
<td class="label">Availability:</td>
|
161
|
-
<td class="value">
|
162
|
-
since {+data.since+}
|
163
|
-
</td>
|
164
|
-
</tr>
|
165
|
-
</if>
|
166
|
-
|
167
|
-
<if test="data.version">
|
168
|
-
<tr class="{+ nextRowClass() +}">
|
169
|
-
<td class="label">Version:</td>
|
170
|
-
<td class="value">{+data.version+}</td>
|
171
|
-
</tr>
|
172
|
-
</if>
|
173
|
-
|
174
|
-
<if test="data.author">
|
175
|
-
<tr class="{+ nextRowClass() +}">
|
176
|
-
<td class="label">Author:</td>
|
177
|
-
<td class="value">{+data.author+}</td>
|
178
|
-
</tr>
|
179
|
-
</if>
|
180
|
-
|
181
|
-
<if test="data.copyright">
|
182
|
-
<tr class="{+ nextRowClass() +}">
|
183
|
-
<td class="label">Copyright:</td>
|
184
|
-
<td class="value">{+data.copyright+}</td>
|
185
|
-
</tr>
|
186
|
-
</if>
|
187
|
-
|
188
|
-
</table>
|
189
|
-
|
190
|
-
<if test="data.classDesc">
|
191
|
-
<h2>
|
192
|
-
Overview
|
193
|
-
</h2>
|
194
|
-
<div class="description">
|
195
|
-
{+htmlize(data.classDesc, false)+}
|
196
|
-
</div>
|
197
|
-
</if>
|
198
|
-
|
199
|
-
<!-- ============================== properties summary ===================== -->
|
200
|
-
<if test="data.properties.length">
|
201
|
-
{!
|
202
|
-
var allProps = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("commonTask"));
|
203
|
-
|
204
|
-
var commonTasks = {};
|
205
|
-
var uncommonTasks = [];
|
206
|
-
var currentKey = '';
|
207
|
-
var commonLen = 0;
|
208
|
-
for(var k=0; k<allProps.length; k++)
|
209
|
-
{
|
210
|
-
if(!allProps[k].commonTask)
|
211
|
-
{
|
212
|
-
uncommonTasks.push(allProps[k]);
|
213
|
-
continue;
|
214
|
-
}
|
215
|
-
if(allProps[k].commonTask != currentKey)
|
216
|
-
{
|
217
|
-
currentKey = allProps[k].commonTask;
|
218
|
-
commonTasks[currentKey] = [];
|
219
|
-
commonLen++;
|
220
|
-
}
|
221
|
-
commonTasks[currentKey].push(allProps[k]);
|
222
|
-
}
|
223
|
-
|
224
|
-
var ownConstants = allProps.filter(function($){return $.isConstant}).sort(makeSortby("name"));
|
225
|
-
uncommonTasks.sort(makeSortby("name"));
|
226
|
-
|
227
|
-
allProps.sort(makeSortby("name"));
|
228
|
-
!}
|
229
|
-
|
230
|
-
<if test="ownConstants.length">
|
231
|
-
<div class="field-summary summary">
|
232
|
-
<h2>Constants</h2>
|
233
|
-
<ul>
|
234
|
-
<for each="member" in="ownConstants">
|
235
|
-
<li>
|
236
|
-
{+new Link().toSymbol(member.alias).withText(constantText(member))+}
|
237
|
-
<if test="member.desc">
|
238
|
-
<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
|
239
|
-
</if>
|
240
|
-
</li>
|
241
|
-
</for>
|
242
|
-
</ul>
|
243
|
-
</div>
|
244
|
-
</if>
|
245
|
-
|
246
|
-
{!
|
247
|
-
if(commonLen > 0)
|
248
|
-
{
|
249
|
-
|
250
|
-
!}
|
251
|
-
|
252
|
-
<if test="uncommonTasks.length">
|
253
|
-
<div class="field-summary summary">
|
254
|
-
<h2>General Property Summary</h2>
|
255
|
-
<ul>
|
256
|
-
<for each="member" in="uncommonTasks">
|
257
|
-
<if test="!(member.isConstant)">
|
258
|
-
<li>
|
259
|
-
{+new Link().toSymbol(member.alias).withText(propertyText(member))+}
|
260
|
-
<if test="member.desc">
|
261
|
-
<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
|
262
|
-
</if>
|
263
|
-
</li>
|
264
|
-
</if>
|
265
|
-
</for>
|
266
|
-
</ul>
|
267
|
-
</div>
|
268
|
-
</if>
|
269
|
-
|
270
|
-
|
271
|
-
{!
|
272
|
-
for(var key in commonTasks)
|
273
|
-
{
|
274
|
-
commonTasks[key].sort(makeSortby("name"));
|
275
|
-
var props = commonTasks[key];
|
276
|
-
!}
|
277
|
-
|
278
|
-
<div class="field-summary summary">
|
279
|
-
<h2>Common Properties For '{! output+=key; !}'</h2>
|
280
|
-
<ul>
|
281
|
-
<for each="member" in="props">
|
282
|
-
<if test="!(member.isConstant)">
|
283
|
-
<li>
|
284
|
-
{+new Link().toSymbol(member.alias).withText(propertyText(member))+}
|
285
|
-
<if test="member.desc">
|
286
|
-
<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
|
287
|
-
</if>
|
288
|
-
</li>
|
289
|
-
</if>
|
290
|
-
</for>
|
291
|
-
</ul>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
{!
|
295
|
-
|
296
|
-
}
|
297
|
-
}
|
298
|
-
else
|
299
|
-
{
|
300
|
-
|
301
|
-
!}
|
302
|
-
|
303
|
-
<if test="uncommonTasks.length">
|
304
|
-
<div class="field-summary summary">
|
305
|
-
<h2>Property Summary</h2>
|
306
|
-
<ul>
|
307
|
-
<for each="member" in="uncommonTasks">
|
308
|
-
<if test="!(member.isConstant)">
|
309
|
-
<li>
|
310
|
-
{+new Link().toSymbol(member.alias).withText(propertyText(member))+}
|
311
|
-
<if test="member.desc">
|
312
|
-
<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
|
313
|
-
</if>
|
314
|
-
</li>
|
315
|
-
</if>
|
316
|
-
</for>
|
317
|
-
</ul>
|
318
|
-
</div>
|
319
|
-
</if>
|
320
|
-
|
321
|
-
{!
|
322
|
-
|
323
|
-
}
|
324
|
-
!}
|
325
|
-
|
326
|
-
|
327
|
-
<if test="data.inheritsFrom.length">
|
328
|
-
<dl class="inheritsList">
|
329
|
-
{!
|
330
|
-
var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
|
331
|
-
|
332
|
-
var contributers = [];
|
333
|
-
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
|
334
|
-
for (var i = 0, l = contributers.length; i < l; i++) {
|
335
|
-
output +=
|
336
|
-
"<dt>Properties borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
|
337
|
-
+
|
338
|
-
"<dd>" +
|
339
|
-
borrowedMembers
|
340
|
-
.filter(
|
341
|
-
function($) { return $.memberOf == contributers[i] }
|
342
|
-
)
|
343
|
-
.sort(makeSortby("name"))
|
344
|
-
.map(
|
345
|
-
function($) { return new Link().toSymbol($.alias).withText($.name) }
|
346
|
-
)
|
347
|
-
.join(", ")
|
348
|
-
+
|
349
|
-
"</dd>";
|
350
|
-
}
|
351
|
-
!}
|
352
|
-
</dl>
|
353
|
-
</if>
|
354
|
-
|
355
|
-
</if>
|
356
|
-
|
357
|
-
<if test="data.methods.length">
|
358
|
-
{!
|
359
|
-
var allMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("commonTask"));
|
360
|
-
|
361
|
-
var commonTasks = {};
|
362
|
-
var uncommonTasks = [];
|
363
|
-
var currentKey = '';
|
364
|
-
var commonLen = 0;
|
365
|
-
for(var k=0; k<allMethods.length; k++)
|
366
|
-
{
|
367
|
-
if(!allMethods[k].commonTask)
|
368
|
-
{
|
369
|
-
uncommonTasks.push(allMethods[k]);
|
370
|
-
continue;
|
371
|
-
}
|
372
|
-
if(allMethods[k].commonTask != currentKey)
|
373
|
-
{
|
374
|
-
currentKey = allMethods[k].commonTask;
|
375
|
-
commonTasks[currentKey] = [];
|
376
|
-
commonLen++;
|
377
|
-
}
|
378
|
-
commonTasks[currentKey].push(allMethods[k]);
|
379
|
-
}
|
380
|
-
uncommonTasks.sort(makeSortby("name"));
|
381
|
-
|
382
|
-
allMethods.sort(makeSortby("name"));
|
383
|
-
|
384
|
-
if(commonLen > 0)
|
385
|
-
{
|
386
|
-
|
387
|
-
!}
|
388
|
-
|
389
|
-
<if test="uncommonTasks.length">
|
390
|
-
<div class="field-summary summary">
|
391
|
-
<h2>General Method Summary</h2>
|
392
|
-
<ul>
|
393
|
-
<for each="method" in="uncommonTasks">
|
394
|
-
<li>
|
395
|
-
<a href="#{+method.alias+}">
|
396
|
-
<code class="type"><if test="method.isStatic||!method.memberOf">+</if><if test="!(method.isStatic||!method.memberOf)">-</if> <if test="method.isPrivate">private </if><if test="method.returns.length"><for each="ret" in="method.returns">({+ret.type+})</for></if><if test="method.returns.length == 0">(void)</if> {+method.name+}{+makeSignature(method.params)+}</code>
|
397
|
-
</a>
|
398
|
-
<if test="method.desc">
|
399
|
-
<div class="description">{+resolveLinks(summarize(method.desc))+}</div>
|
400
|
-
</if>
|
401
|
-
</li>
|
402
|
-
</for>
|
403
|
-
</ul>
|
404
|
-
</div>
|
405
|
-
</if>
|
406
|
-
|
407
|
-
|
408
|
-
{!
|
409
|
-
for(var key in commonTasks)
|
410
|
-
{
|
411
|
-
commonTasks[key].sort(makeSortby("name"));
|
412
|
-
var methods = commonTasks[key];
|
413
|
-
!}
|
414
|
-
|
415
|
-
<div class="field-summary summary">
|
416
|
-
<h2>Common Methods For '{! output+=key; !}'</h2>
|
417
|
-
<ul>
|
418
|
-
<for each="method" in="methods">
|
419
|
-
<li>
|
420
|
-
<a href="#{+method.alias+}">
|
421
|
-
<code class="type"><if test="method.isStatic||!method.memberOf">+</if><if test="!(method.isStatic||!method.memberOf)">-</if> <if test="method.isPrivate">private </if><if test="method.returns.length"><for each="ret" in="method.returns">({+ret.type+})</for></if><if test="method.returns.length == 0">(void)</if> {+method.name+}{+makeSignature(method.params)+}</code>
|
422
|
-
</a>
|
423
|
-
<if test="method.desc">
|
424
|
-
<div class="description">{+resolveLinks(summarize(method.desc))+}</div>
|
425
|
-
</if>
|
426
|
-
</li>
|
427
|
-
</for>
|
428
|
-
</ul>
|
429
|
-
</div>
|
430
|
-
|
431
|
-
{!
|
432
|
-
|
433
|
-
}
|
434
|
-
}
|
435
|
-
else
|
436
|
-
{
|
437
|
-
|
438
|
-
!}
|
439
|
-
|
440
|
-
<if test="allMethods.length">
|
441
|
-
<div class="method-summary summary">
|
442
|
-
<h2>Method Summary</h2>
|
443
|
-
<ul>
|
444
|
-
<for each="method" in="allMethods">
|
445
|
-
<li>
|
446
|
-
<a href="#{+method.alias+}">
|
447
|
-
<code class="type"><if test="method.isStatic||!method.memberOf">+</if><if test="!(method.isStatic||!method.memberOf)">-</if> <if test="method.isPrivate">private </if><if test="method.returns.length"><for each="ret" in="method.returns">({+ret.type+})</for></if><if test="method.returns.length == 0">(void)</if> {+method.name+}{+makeSignature(method.params)+}</code>
|
448
|
-
</a>
|
449
|
-
<if test="method.desc">
|
450
|
-
<div class="description">{+resolveLinks(summarize(method.desc))+}</div>
|
451
|
-
</if>
|
452
|
-
</li>
|
453
|
-
</for>
|
454
|
-
</ul>
|
455
|
-
</div>
|
456
|
-
</if>
|
457
|
-
|
458
|
-
{!
|
459
|
-
|
460
|
-
}
|
461
|
-
!}
|
462
|
-
|
463
|
-
|
464
|
-
<if test="data.inheritsFrom.length">
|
465
|
-
<dl class="inheritsList">
|
466
|
-
{!
|
467
|
-
var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
|
468
|
-
var contributers = [];
|
469
|
-
borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
|
470
|
-
for (var i = 0, l = contributers.length; i < l; i++) {
|
471
|
-
output +=
|
472
|
-
"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
|
473
|
-
+
|
474
|
-
"<dd>" +
|
475
|
-
borrowedMembers
|
476
|
-
.filter(
|
477
|
-
function($) { return $.memberOf == contributers[i] }
|
478
|
-
)
|
479
|
-
.sort(makeSortby("name"))
|
480
|
-
.map(
|
481
|
-
function($) { return new Link().toSymbol($.alias).withText($.name) }
|
482
|
-
)
|
483
|
-
.join(", ")
|
484
|
-
+
|
485
|
-
"</dd>";
|
486
|
-
}
|
487
|
-
|
488
|
-
!}
|
489
|
-
</dl>
|
490
|
-
</if>
|
491
|
-
</if>
|
492
|
-
|
493
|
-
<!-- ============================== field details ========================== -->
|
494
|
-
<if test="defined(allProps) && allProps.length">
|
495
|
-
<div class="field-detail detail">
|
496
|
-
<a name="field_detail"><h2>Property Details</h2></a>
|
497
|
-
<for each="property" in="allProps">
|
498
|
-
<if test="!(property.isConstant)">
|
499
|
-
<!-- One single method detail entry -->
|
500
|
-
<div class="field">
|
501
|
-
<a name="{+Link.symbolNameToLinkName(property)+}"></a>
|
502
|
-
<div class="field">
|
503
|
-
<a name="{+Link.symbolNameToLinkName(property)+}"></a>
|
504
|
-
<h3>{+property.name+}
|
505
|
-
|
506
|
-
<if test="property.isReadOnly == true">
|
507
|
-
[R/O]
|
508
|
-
</if>
|
509
|
-
<if test="property.isReadOnly == false">
|
510
|
-
[R/W]
|
511
|
-
</if>
|
512
|
-
|
513
|
-
</h3>
|
514
|
-
<p class="summary">{+summarize(property.desc)+}</p>
|
515
|
-
|
516
|
-
<if test="property.deprecated">
|
517
|
-
<p class="deprecated">Deprecated {+property.deprecated+}</p>
|
518
|
-
</if>
|
519
|
-
|
520
|
-
<p class="signature">
|
521
|
-
<if test="property.isStatic||!property.memberOf">+</if>
|
522
|
-
<if test="!(property.isStatic||!property.memberOf)">-</if>
|
523
|
-
|
524
|
-
<span class="type">
|
525
|
-
<if test="property.isPrivate">private </if>
|
526
|
-
{+(property.type||"Object")+}
|
527
|
-
</span>
|
528
|
-
<span class="name">{+property.name+}</span>
|
529
|
-
</p>
|
530
|
-
|
531
|
-
<if test="property.binding.length">
|
532
|
-
<for each="bind" in="property.binding">
|
533
|
-
<p class="parameter">
|
534
|
-
<strong>Bound To: </strong><span class="type">{+bind+}</span>
|
535
|
-
</p>
|
536
|
-
</for>
|
537
|
-
</if>
|
538
|
-
|
539
|
-
<if test="property.defaultValue">
|
540
|
-
<p class="parameter">
|
541
|
-
<strong>Default Value: </strong> <span class="type">{+property.defaultValue+}</span>
|
542
|
-
</p>
|
543
|
-
</if>
|
544
|
-
|
545
|
-
{!
|
546
|
-
if(property.desc.split('.').length > 2)
|
547
|
-
{
|
548
|
-
|
549
|
-
output+= "<h5>Discussion</h5>";
|
550
|
-
output+= '<div class="description">'+htmlize(property.desc)+'</div>';
|
551
|
-
|
552
|
-
}
|
553
|
-
!}
|
554
|
-
|
555
|
-
|
556
|
-
<if test="property.since">
|
557
|
-
<h5>Availability</h5>
|
558
|
-
<div class="since">since {+property.since+}</div>
|
559
|
-
</if>
|
560
|
-
</div>
|
561
|
-
<hr/>
|
562
|
-
</if>
|
563
|
-
</for>
|
564
|
-
</div>
|
565
|
-
</if>
|
566
|
-
|
567
|
-
<!-- ============================== method details ========================= -->
|
568
|
-
<if test="defined(allMethods) && allMethods.length">
|
569
|
-
<h2>
|
570
|
-
Method Detail
|
571
|
-
</h2>
|
572
|
-
<for each="method" in="allMethods">
|
573
|
-
<div class="method detail">
|
574
|
-
<a name="{+method.alias+}"></a>
|
575
|
-
<h3>{+method.name+}()
|
576
|
-
|
577
|
-
|
578
|
-
<if test="method.commonTask">
|
579
|
-
- {+method.commonTask+}
|
580
|
-
</if>
|
581
|
-
|
582
|
-
</h3>
|
583
|
-
<p class="summary">{+summarize(method.desc)+}</p>
|
584
|
-
|
585
|
-
<if test="method.deprecated">
|
586
|
-
<p class="deprecated">Deprecated {+method.deprecated+}</p>
|
587
|
-
</if>
|
588
|
-
|
589
|
-
<p class="signature">
|
590
|
-
<if test="method.isStatic||!method.memberOf">+</if>
|
591
|
-
<if test="!(method.isStatic||!method.memberOf)">-</if>
|
592
|
-
|
593
|
-
<span class="type">
|
594
|
-
<if test="method.isPrivate">private </if>
|
595
|
-
({+(method.type||"void")+})
|
596
|
-
</span>
|
597
|
-
<span class="name">{+method.name+}</span> <span class="params">{+makeSignature(method.params)+}</span>
|
598
|
-
</p>
|
599
|
-
|
600
|
-
|
601
|
-
<!-- METHOD PARAMETERS START -->
|
602
|
-
<if test="hasUsefulParams(method.params)">
|
603
|
-
<h5>Parameters</h5>
|
604
|
-
<for each="param" in="method.params">
|
605
|
-
<if test="isUsefulParam(param)">
|
606
|
-
<p class="parameter">
|
607
|
-
<if test="param.type"><span class="type">({+param.type+})</span></if><span class="name">{+param.name+}</span>
|
608
|
-
<if test="param.desc">
|
609
|
-
<span class="desc">{+resolveLinks(param.desc)+}</span>
|
610
|
-
</if>
|
611
|
-
</p>
|
612
|
-
</if>
|
613
|
-
</for>
|
614
|
-
</if>
|
615
|
-
<!-- METHOD PARAMETERS END -->
|
616
|
-
|
617
|
-
<!-- ADDITIONAL ATTRIBUTES START -->
|
618
|
-
<if test="method.returns.length">
|
619
|
-
<h5>Returns</h5>
|
620
|
-
<for each="ret" in="method.returns">
|
621
|
-
<p class="parameter">
|
622
|
-
<if test="ret.type"><span class="type">({+ret.type+})</span></if>
|
623
|
-
<span class="desc">{+resolveLinks(ret.desc)+}</span>
|
624
|
-
</p>
|
625
|
-
</for>
|
626
|
-
</if>
|
627
|
-
|
628
|
-
<if test="method.observes.length">
|
629
|
-
<h5>Observes</h5>
|
630
|
-
<for each="obs" in="method.observes">
|
631
|
-
<p class="parameter">
|
632
|
-
<span class="type">{+obs+}</span>
|
633
|
-
</p>
|
634
|
-
</for>
|
635
|
-
</if>
|
636
|
-
|
637
|
-
<if test="method.exceptions.length">
|
638
|
-
<h5>Throws Exceptions</h5>
|
639
|
-
<for each="ex" in="method.exceptions">
|
640
|
-
<p class="parameter">
|
641
|
-
<if test="ex.type"><span class="type">({+ex.type+})</span></if>
|
642
|
-
<span class="desc">{+resolveLinks(ex.desc)+}</span>
|
643
|
-
</p>
|
644
|
-
</for>
|
645
|
-
</if>
|
646
|
-
<!-- ADDITIONAL ATTRIBUTES END -->
|
647
|
-
|
648
|
-
{!
|
649
|
-
if(method.desc.split('.').length > 2)
|
650
|
-
{
|
651
|
-
|
652
|
-
output+= "<h5>Discussion</h5>";
|
653
|
-
output+= '<div class="description">'+htmlize(method.desc)+'</div>';
|
654
|
-
|
655
|
-
}
|
656
|
-
!}
|
657
|
-
|
658
|
-
<if test="method.since">
|
659
|
-
<h5>Availability</h5>
|
660
|
-
<div class="since">since {+method.since+}</div>
|
661
|
-
</if>
|
662
|
-
</div>
|
663
|
-
<hr/>
|
664
|
-
</for>
|
665
|
-
</if>
|
666
|
-
</div>
|
667
|
-
|
668
|
-
<!-- ============================== footer ================================= -->
|
669
|
-
<div class="fineprint" style="clear:both">
|
670
|
-
<if test="JSDOC.opt.D.copyright">©{+JSDOC.opt.D.copyright+}<br /></if>
|
671
|
-
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
|
672
|
-
</div>
|
673
|
-
</body>
|
674
|
-
</html>
|