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.
Files changed (217) hide show
  1. data/CHANGELOG +31 -6
  2. data/{History.txt → History.rdoc} +0 -0
  3. data/{README.txt → README.rdoc} +3 -2
  4. data/Rakefile +15 -15
  5. data/{Todo.txt → Todo.rdoc} +0 -0
  6. data/VERSION.yml +1 -1
  7. data/lib/buildtasks/manifest.rake +11 -4
  8. data/lib/buildtasks/target.rake +20 -23
  9. data/lib/frameworks/sproutcore/CHANGELOG.md +36 -0
  10. data/lib/frameworks/sproutcore/frameworks/core_foundation/core.js +2 -42
  11. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/bind.js +2 -1
  12. data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/collection.js +3 -1
  13. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/checkbox_support.js +5 -5
  14. data/lib/frameworks/sproutcore/frameworks/core_foundation/mixins/template_helpers/text_field_support.js +29 -12
  15. data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +4 -4
  16. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/mixins/template_helpers/text_field_support.js +9 -0
  17. data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/collection.js +110 -0
  18. data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +63 -26
  19. data/lib/frameworks/sproutcore/frameworks/datastore/system/child_array.js +25 -5
  20. data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +3 -3
  21. data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +26 -3
  22. data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/core_methods.js +74 -53
  23. data/lib/frameworks/sproutcore/frameworks/desktop/panes/alert.js +6 -7
  24. data/lib/frameworks/sproutcore/frameworks/desktop/panes/picker.js +6 -3
  25. data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/alert/ui.js +25 -1
  26. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/methods.js +1 -3
  27. data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/tab/ui.js +20 -1
  28. data/lib/frameworks/sproutcore/frameworks/desktop/views/select_field.js +1 -1
  29. data/lib/frameworks/sproutcore/frameworks/desktop/views/tab.js +46 -49
  30. data/lib/frameworks/sproutcore/frameworks/foundation/tests/views/container/ui.js +23 -0
  31. data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +14 -2
  32. data/lib/frameworks/sproutcore/frameworks/jquery/jquery-buffered.js +2 -76
  33. data/lib/frameworks/sproutcore/frameworks/jquery/jquery.js +3348 -1591
  34. data/lib/frameworks/sproutcore/frameworks/runtime/core.js +25 -5
  35. data/lib/frameworks/sproutcore/frameworks/runtime/system/index_set.js +0 -3
  36. data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/objectForPropertyPath.js +10 -5
  37. data/lib/frameworks/sproutcore/frameworks/runtime/tests/core/requiredObjectForPropertyPath.js +29 -0
  38. data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue.js +98 -0
  39. data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +2 -2
  40. data/lib/frameworks/sproutcore/themes/ace/resources/split/split.css +1 -1
  41. data/lib/gen/language/Buildfile +1 -1
  42. data/lib/sproutcore.rb +1 -14
  43. data/lib/sproutcore/buildfile/string_ext.rb +0 -4
  44. data/lib/sproutcore/helpers/cssmin.rb +44 -59
  45. data/lib/sproutcore/helpers/text_helper.rb +11 -13
  46. data/lib/sproutcore/models/manifest.rb +4 -4
  47. data/lib/sproutcore/models/target.rb +11 -110
  48. data/lib/sproutcore/rack.rb +0 -1
  49. data/lib/sproutcore/rack/dev.rb +0 -1
  50. data/lib/sproutcore/rack/proxy.rb +9 -8
  51. data/lib/sproutcore/rack/service.rb +1 -1
  52. data/lib/sproutcore/render_engines/haml.rb +2 -5
  53. data/lib/sproutcore/tools/build.rb +2 -0
  54. data/lib/sproutcore/tools/docs.rb +7 -36
  55. data/lib/sproutcore/tools/manifest.rb +1 -1
  56. data/spec/buildtasks/target_spec.rb +9 -0
  57. data/spec/fixtures/real_world/frameworks/sproutcore/Buildfile +1 -1
  58. data/sproutcore.gemspec +3 -4
  59. data/vendor/chance/lib/chance/instance.rb +5 -8
  60. metadata +41 -207
  61. data/lib/doc_templates/jsdoc/allclasses.tmpl +0 -17
  62. data/lib/doc_templates/jsdoc/allfiles.tmpl +0 -56
  63. data/lib/doc_templates/jsdoc/class.tmpl +0 -487
  64. data/lib/doc_templates/jsdoc/index.tmpl +0 -38
  65. data/lib/doc_templates/jsdoc/publish.js +0 -170
  66. data/lib/doc_templates/jsdoc/static/default.css +0 -162
  67. data/lib/doc_templates/jsdoc/static/header.html +0 -2
  68. data/lib/doc_templates/jsdoc/static/index.html +0 -19
  69. data/lib/doc_templates/jsdoc/symbol.tmpl +0 -35
  70. data/lib/doc_templates/sproutcore/allclasses.tmpl +0 -0
  71. data/lib/doc_templates/sproutcore/allfiles.tmpl +0 -56
  72. data/lib/doc_templates/sproutcore/class.tmpl +0 -674
  73. data/lib/doc_templates/sproutcore/classes-json.tmpl +0 -55
  74. data/lib/doc_templates/sproutcore/index.tmpl +0 -62
  75. data/lib/doc_templates/sproutcore/publish.js +0 -346
  76. data/lib/doc_templates/sproutcore/static/default.css +0 -258
  77. data/lib/doc_templates/sproutcore/static/header.html +0 -2
  78. data/lib/doc_templates/sproutcore/static/index.html +0 -19
  79. data/lib/doc_templates/sproutcore/symbol.tmpl +0 -35
  80. data/lib/frameworks/sproutcore/frameworks/runtime/tests/private/observer_queue/isObservingSuspended.js +0 -55
  81. data/lib/sproutcore/rack/docs.rb +0 -24
  82. data/spec/fixtures/real_world/frameworks/sproutcore/apps/docs/PLACEHOLDER +0 -0
  83. data/vendor/jsdoc/README.txt +0 -151
  84. data/vendor/jsdoc/app/frame.js +0 -33
  85. data/vendor/jsdoc/app/frame/Chain.js +0 -102
  86. data/vendor/jsdoc/app/frame/Dumper.js +0 -144
  87. data/vendor/jsdoc/app/frame/Hash.js +0 -47
  88. data/vendor/jsdoc/app/frame/Link.js +0 -142
  89. data/vendor/jsdoc/app/frame/Namespace.js +0 -10
  90. data/vendor/jsdoc/app/frame/Opt.js +0 -134
  91. data/vendor/jsdoc/app/frame/Reflection.js +0 -26
  92. data/vendor/jsdoc/app/frame/String.js +0 -93
  93. data/vendor/jsdoc/app/frame/Testrun.js +0 -129
  94. data/vendor/jsdoc/app/handlers/FOODOC.js +0 -26
  95. data/vendor/jsdoc/app/handlers/XMLDOC.js +0 -26
  96. data/vendor/jsdoc/app/handlers/XMLDOC/DomReader.js +0 -159
  97. data/vendor/jsdoc/app/handlers/XMLDOC/XMLDoc.js +0 -16
  98. data/vendor/jsdoc/app/handlers/XMLDOC/XMLParse.js +0 -292
  99. data/vendor/jsdoc/app/lib/JSDOC.js +0 -98
  100. data/vendor/jsdoc/app/lib/JSDOC/DocComment.js +0 -200
  101. data/vendor/jsdoc/app/lib/JSDOC/DocTag.js +0 -294
  102. data/vendor/jsdoc/app/lib/JSDOC/JsDoc.js +0 -162
  103. data/vendor/jsdoc/app/lib/JSDOC/JsPlate.js +0 -100
  104. data/vendor/jsdoc/app/lib/JSDOC/Lang.js +0 -144
  105. data/vendor/jsdoc/app/lib/JSDOC/Parser.js +0 -109
  106. data/vendor/jsdoc/app/lib/JSDOC/PluginManager.js +0 -33
  107. data/vendor/jsdoc/app/lib/JSDOC/Symbol.js +0 -681
  108. data/vendor/jsdoc/app/lib/JSDOC/SymbolSet.js +0 -226
  109. data/vendor/jsdoc/app/lib/JSDOC/TextStream.js +0 -41
  110. data/vendor/jsdoc/app/lib/JSDOC/Token.js +0 -18
  111. data/vendor/jsdoc/app/lib/JSDOC/TokenReader.js +0 -332
  112. data/vendor/jsdoc/app/lib/JSDOC/TokenStream.js +0 -133
  113. data/vendor/jsdoc/app/lib/JSDOC/Util.js +0 -32
  114. data/vendor/jsdoc/app/lib/JSDOC/Walker.js +0 -453
  115. data/vendor/jsdoc/app/main.js +0 -74
  116. data/vendor/jsdoc/app/plugins/commentSrcJson.js +0 -19
  117. data/vendor/jsdoc/app/plugins/frameworkPrototype.js +0 -16
  118. data/vendor/jsdoc/app/plugins/functionCall.js +0 -10
  119. data/vendor/jsdoc/app/plugins/publishSrcHilite.js +0 -62
  120. data/vendor/jsdoc/app/plugins/sproutcoreTags.js +0 -26
  121. data/vendor/jsdoc/app/plugins/symbolLink.js +0 -9
  122. data/vendor/jsdoc/app/plugins/tagParamConfig.js +0 -31
  123. data/vendor/jsdoc/app/plugins/tagSynonyms.js +0 -43
  124. data/vendor/jsdoc/app/run.js +0 -346
  125. data/vendor/jsdoc/app/t/TestDoc.js +0 -144
  126. data/vendor/jsdoc/app/t/runner.js +0 -13
  127. data/vendor/jsdoc/app/test.js +0 -304
  128. data/vendor/jsdoc/app/test/addon.js +0 -24
  129. data/vendor/jsdoc/app/test/anon_inner.js +0 -14
  130. data/vendor/jsdoc/app/test/augments.js +0 -31
  131. data/vendor/jsdoc/app/test/augments2.js +0 -26
  132. data/vendor/jsdoc/app/test/borrows.js +0 -41
  133. data/vendor/jsdoc/app/test/borrows2.js +0 -23
  134. data/vendor/jsdoc/app/test/config.js +0 -22
  135. data/vendor/jsdoc/app/test/constructs.js +0 -18
  136. data/vendor/jsdoc/app/test/encoding.js +0 -10
  137. data/vendor/jsdoc/app/test/encoding_other.js +0 -12
  138. data/vendor/jsdoc/app/test/functions_anon.js +0 -39
  139. data/vendor/jsdoc/app/test/functions_nested.js +0 -33
  140. data/vendor/jsdoc/app/test/global.js +0 -13
  141. data/vendor/jsdoc/app/test/globals.js +0 -25
  142. data/vendor/jsdoc/app/test/ignore.js +0 -10
  143. data/vendor/jsdoc/app/test/inner.js +0 -16
  144. data/vendor/jsdoc/app/test/jsdoc_test.js +0 -477
  145. data/vendor/jsdoc/app/test/lend.js +0 -33
  146. data/vendor/jsdoc/app/test/memberof.js +0 -20
  147. data/vendor/jsdoc/app/test/memberof_constructor.js +0 -15
  148. data/vendor/jsdoc/app/test/name.js +0 -19
  149. data/vendor/jsdoc/app/test/namespace_nested.js +0 -23
  150. data/vendor/jsdoc/app/test/nocode.js +0 -13
  151. data/vendor/jsdoc/app/test/oblit_anon.js +0 -20
  152. data/vendor/jsdoc/app/test/overview.js +0 -20
  153. data/vendor/jsdoc/app/test/param_inline.js +0 -37
  154. data/vendor/jsdoc/app/test/params_optional.js +0 -8
  155. data/vendor/jsdoc/app/test/prototype.js +0 -17
  156. data/vendor/jsdoc/app/test/prototype_nested.js +0 -9
  157. data/vendor/jsdoc/app/test/prototype_oblit.js +0 -13
  158. data/vendor/jsdoc/app/test/prototype_oblit_constructor.js +0 -24
  159. data/vendor/jsdoc/app/test/public.js +0 -10
  160. data/vendor/jsdoc/app/test/shared.js +0 -42
  161. data/vendor/jsdoc/app/test/shared2.js +0 -2
  162. data/vendor/jsdoc/app/test/shortcuts.js +0 -22
  163. data/vendor/jsdoc/app/test/static_this.js +0 -13
  164. data/vendor/jsdoc/app/test/synonyms.js +0 -23
  165. data/vendor/jsdoc/app/test/tosource.js +0 -23
  166. data/vendor/jsdoc/app/test/variable_redefine.js +0 -14
  167. data/vendor/jsdoc/changes.txt +0 -47
  168. data/vendor/jsdoc/conf/sample.conf +0 -31
  169. data/vendor/jsdoc/java/build.xml +0 -36
  170. data/vendor/jsdoc/java/build_1.4.xml +0 -36
  171. data/vendor/jsdoc/java/classes/js.jar +0 -0
  172. data/vendor/jsdoc/java/src/JsDebugRun.java +0 -21
  173. data/vendor/jsdoc/java/src/JsRun.java +0 -21
  174. data/vendor/jsdoc/jsdebug.jar +0 -0
  175. data/vendor/jsdoc/jsrun.jar +0 -0
  176. data/vendor/jsdoc/t/TestDoc.js +0 -144
  177. data/vendor/jsdoc/t/runner.js +0 -13
  178. data/vendor/jsdoc/test.js +0 -304
  179. data/vendor/jsdoc/test/addon.js +0 -24
  180. data/vendor/jsdoc/test/anon_inner.js +0 -14
  181. data/vendor/jsdoc/test/augments.js +0 -31
  182. data/vendor/jsdoc/test/augments2.js +0 -26
  183. data/vendor/jsdoc/test/borrows.js +0 -41
  184. data/vendor/jsdoc/test/borrows2.js +0 -23
  185. data/vendor/jsdoc/test/config.js +0 -22
  186. data/vendor/jsdoc/test/constructs.js +0 -18
  187. data/vendor/jsdoc/test/encoding.js +0 -10
  188. data/vendor/jsdoc/test/encoding_other.js +0 -12
  189. data/vendor/jsdoc/test/functions_anon.js +0 -39
  190. data/vendor/jsdoc/test/functions_nested.js +0 -33
  191. data/vendor/jsdoc/test/global.js +0 -13
  192. data/vendor/jsdoc/test/globals.js +0 -25
  193. data/vendor/jsdoc/test/ignore.js +0 -10
  194. data/vendor/jsdoc/test/inner.js +0 -16
  195. data/vendor/jsdoc/test/jsdoc_test.js +0 -477
  196. data/vendor/jsdoc/test/lend.js +0 -33
  197. data/vendor/jsdoc/test/memberof.js +0 -20
  198. data/vendor/jsdoc/test/memberof_constructor.js +0 -15
  199. data/vendor/jsdoc/test/name.js +0 -19
  200. data/vendor/jsdoc/test/namespace_nested.js +0 -23
  201. data/vendor/jsdoc/test/nocode.js +0 -13
  202. data/vendor/jsdoc/test/oblit_anon.js +0 -20
  203. data/vendor/jsdoc/test/overview.js +0 -20
  204. data/vendor/jsdoc/test/param_inline.js +0 -37
  205. data/vendor/jsdoc/test/params_optional.js +0 -8
  206. data/vendor/jsdoc/test/prototype.js +0 -17
  207. data/vendor/jsdoc/test/prototype_nested.js +0 -9
  208. data/vendor/jsdoc/test/prototype_oblit.js +0 -13
  209. data/vendor/jsdoc/test/prototype_oblit_constructor.js +0 -24
  210. data/vendor/jsdoc/test/public.js +0 -10
  211. data/vendor/jsdoc/test/shared.js +0 -42
  212. data/vendor/jsdoc/test/shared2.js +0 -2
  213. data/vendor/jsdoc/test/shortcuts.js +0 -22
  214. data/vendor/jsdoc/test/static_this.js +0 -13
  215. data/vendor/jsdoc/test/synonyms.js +0 -23
  216. data/vendor/jsdoc/test/tosource.js +0 -23
  217. data/vendor/jsdoc/test/variable_redefine.js +0 -14
@@ -1,17 +0,0 @@
1
- <div align="center">{+new Link().toFile("index.html").withText("Class Index")+}
2
- | {+new Link().toFile("files.html").withText("File Index")+}</div>
3
- <hr />
4
- <h2>Classes</h2>
5
- <ul class="classList">
6
- <for each="thisClass" in="data">
7
- <li>{!
8
- if (thisClass.alias == "_global_") {
9
- output += "<i>"+new Link().toClass(thisClass.alias)+"</i>";
10
- }
11
- else {
12
- output += new Link().toClass(thisClass.alias);
13
- }
14
- !}</li>
15
- </for>
16
- </ul>
17
- <hr />
@@ -1,56 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}"" />
6
- {! Link.base = ""; /* all generated links will be relative to this */ !}
7
- <title>JsDoc Reference - File Index</title>
8
- <meta name="generator" content="JsDoc Toolkit" />
9
-
10
- <style type="text/css">
11
- {+include("static/default.css")+}
12
- </style>
13
- </head>
14
-
15
- <body>
16
- {+include("static/header.html")+}
17
-
18
- <div id="index">
19
- {+publish.classesIndex+}
20
- </div>
21
-
22
- <div id="content">
23
- <h1 class="classTitle">File Index</h1>
24
-
25
- <for each="item" in="data">
26
- <div>
27
- <h2>{+new Link().toSrc(item.alias).withText(item.name)+}</h2>
28
- <if test="item.desc">{+resolveLinks(summarize(item.desc))+}</if>
29
- <dl>
30
- <if test="item.author">
31
- <dt class="heading">Author:</dt>
32
- <dd>{+item.author+}</dd>
33
- </if>
34
- <if test="item.version">
35
- <dt class="heading">Version:</dt>
36
- <dd>{+item.version+}</dd>
37
- </if>
38
- {! var locations = item.comment.getTag('location').map(function($){return $.toString().replace(/(^\$ ?| ?\$$)/g, '').replace(/^HeadURL: https:/g, 'http:');}) !}
39
- <if test="locations.length">
40
- <dt class="heading">Location:</dt>
41
- <for each="location" in="locations">
42
- <dd><a href="{+location+}">{+location+}</a></dd>
43
- </for>
44
- </if>
45
- </dl>
46
- </div>
47
- <hr />
48
- </for>
49
-
50
- </div>
51
- <div class="fineprint" style="clear:both">
52
- <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
53
- Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
54
- </div>
55
- </body>
56
- </html>
@@ -1,487 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
6
- <meta name="generator" content="JsDoc Toolkit" />
7
- {! Link.base = "../"; /* all generated links will be relative to this */ !}
8
- <title>JsDoc Reference - {+data.alias+}</title>
9
-
10
- <style type="text/css">
11
- {+include("static/default.css")+}
12
- </style>
13
- </head>
14
-
15
- <body>
16
- <!-- ============================== header ================================= -->
17
- <!-- begin static/header.html -->
18
- {+include("static/header.html")+}
19
- <!-- end static/header.html -->
20
-
21
- <!-- ============================== classes index ============================ -->
22
- <div id="index">
23
- <!-- begin publish.classesIndex -->
24
- {+publish.classesIndex+}
25
- <!-- end publish.classesIndex -->
26
- </div>
27
-
28
- <div id="content">
29
- <!-- ============================== class title ============================ -->
30
- <h1 class="classTitle">
31
- {!
32
- var classType = "";
33
-
34
- if (data.isBuiltin()) {
35
- classType += "Built-In ";
36
- }
37
-
38
- if (data.isNamespace) {
39
- if (data.is('FUNCTION')) {
40
- classType += "Function ";
41
- }
42
- classType += "Namespace ";
43
- }
44
- else {
45
- classType += "Class ";
46
- }
47
- !}
48
- {+classType+}{+data.alias+}
49
- </h1>
50
-
51
- <!-- ============================== class summary ========================== -->
52
- <p class="description">
53
- <if test="data.augments.length"><br />Extends
54
- {+
55
- data.augments
56
- .sort()
57
- .map(
58
- function($) { return new Link().toSymbol($); }
59
- )
60
- .join(", ")
61
- +}.<br />
62
- </if>
63
-
64
- {+resolveLinks(data.classDesc)+}
65
-
66
- <if test="!data.isBuiltin()">{# isn't defined in any file #}
67
- <br /><i>Defined in: </i> {+new Link().toSrc(data.srcFile)+}.
68
- </if>
69
- </p>
70
-
71
- <!-- ============================== constructor summary ==================== -->
72
- <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
73
- <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
74
- <caption>{+classType+}Summary</caption>
75
- <thead>
76
- <tr>
77
- <th scope="col">Constructor Attributes</th>
78
- <th scope="col">Constructor Name and Description</th>
79
- </tr>
80
- </thead>
81
- <tbody>
82
- <tr>
83
- <td class="attributes">{!
84
- if (data.isPrivate) output += "&lt;private&gt; ";
85
- if (data.isInner) output += "&lt;inner&gt; ";
86
- !}&nbsp;</td>
87
- <td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
88
- <div class="fixedFont">
89
- <b>{+ new Link().toSymbol(data.alias).inner('constructor')+}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
90
- </div>
91
- <div class="description">{+resolveLinks(summarize(data.desc))+}</div>
92
- </td>
93
- </tr>
94
- </tbody>
95
- </table>
96
- </if>
97
-
98
- <!-- ============================== properties summary ===================== -->
99
- <if test="data.properties.length">
100
- {! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
101
- <if test="ownProperties.length">
102
- <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
103
- <caption>Field Summary</caption>
104
- <thead>
105
- <tr>
106
- <th scope="col">Field Attributes</th>
107
- <th scope="col">Field Name and Description</th>
108
- </tr>
109
- </thead>
110
- <tbody>
111
- <for each="member" in="ownProperties">
112
- <tr>
113
- <td class="attributes">{!
114
- if (member.isPrivate) output += "&lt;private&gt; ";
115
- if (member.isInner) output += "&lt;inner&gt; ";
116
- if (member.isStatic) output += "&lt;static&gt; ";
117
- if (member.isConstant) output += "&lt;constant&gt; ";
118
- !}&nbsp;</td>
119
- <td class="nameDescription">
120
- <div class="fixedFont">
121
- <if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
122
- </div>
123
- <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
124
- </td>
125
- </tr>
126
- </for>
127
- </tbody>
128
- </table>
129
- </if>
130
-
131
- <if test="data.inheritsFrom.length">
132
- <dl class="inheritsList">
133
- {!
134
- var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
135
-
136
- var contributers = [];
137
- borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
138
- for (var i = 0, l = contributers.length; i < l; i++) {
139
- output +=
140
- "<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
141
- +
142
- "<dd>" +
143
- borrowedMembers
144
- .filter(
145
- function($) { return $.memberOf == contributers[i] }
146
- )
147
- .sort(makeSortby("name"))
148
- .map(
149
- function($) { return new Link().toSymbol($.alias).withText($.name) }
150
- )
151
- .join(", ")
152
- +
153
- "</dd>";
154
- }
155
- !}
156
- </dl>
157
- </if>
158
- </if>
159
-
160
- <!-- ============================== methods summary ======================== -->
161
- <if test="data.methods.length">
162
- {! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
163
- <if test="ownMethods.length">
164
- <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
165
- <caption>Method Summary</caption>
166
- <thead>
167
- <tr>
168
- <th scope="col">Method Attributes</th>
169
- <th scope="col">Method Name and Description</th>
170
- </tr>
171
- </thead>
172
- <tbody>
173
- <for each="member" in="ownMethods">
174
- <tr>
175
- <td class="attributes">{!
176
- if (member.isPrivate) output += "&lt;private&gt; ";
177
- if (member.isInner) output += "&lt;inner&gt; ";
178
- if (member.isStatic) output += "&lt;static&gt; ";
179
- !}&nbsp;</td>
180
- <td class="nameDescription">
181
- <div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>{+makeSignature(member.params)+}
182
- </div>
183
- <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
184
- </td>
185
- </tr>
186
- </for>
187
- </tbody>
188
- </table>
189
- </if>
190
-
191
- <if test="data.inheritsFrom.length">
192
- <dl class="inheritsList">
193
- {!
194
- var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
195
- var contributers = [];
196
- borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
197
- for (var i = 0, l = contributers.length; i < l; i++) {
198
- output +=
199
- "<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
200
- +
201
- "<dd>" +
202
- borrowedMembers
203
- .filter(
204
- function($) { return $.memberOf == contributers[i] }
205
- )
206
- .sort(makeSortby("name"))
207
- .map(
208
- function($) { return new Link().toSymbol($.alias).withText($.name) }
209
- )
210
- .join(", ")
211
- +
212
- "</dd>";
213
- }
214
-
215
- !}
216
- </dl>
217
- </if>
218
- </if>
219
-
220
- <!-- ============================== constructor details ==================== -->
221
- <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
222
- <div class="details"><a name="constructor"> </a>
223
- <div class="sectionTitle">
224
- {+classType+}Detail
225
- </div>
226
-
227
- <div class="fixedFont">{!
228
- if (data.isPrivate) output += "&lt;private&gt; ";
229
- if (data.isInner) output += "&lt;inner&gt; ";
230
- !}
231
- <b>{+ data.alias +}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
232
- </div>
233
-
234
- <div class="description">
235
- {+resolveLinks(data.desc)+}
236
- <if test="data.author"><br /><i>Author: </i>{+data.author+}.</if>
237
- </div>
238
-
239
- <if test="data.example.length">
240
- <for each="example" in="data.example">
241
- <pre class="code">{+example+}</pre>
242
- </for>
243
- </if>
244
-
245
-
246
- <if test="data.params.length">
247
- <dl class="detailList">
248
- <dt class="heading">Parameters:</dt>
249
- <for each="item" in="data.params">
250
- <dt>
251
- {+((item.type)?""+("<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type)+"}</span> ")) : "")+} <b>{+item.name+}</b>
252
- <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
253
- </dt>
254
- <dd>{+resolveLinks(item.desc)+}</dd>
255
- </for>
256
- </dl>
257
- </if>
258
- <if test="data.deprecated">
259
- <dl class="detailList">
260
- <dt class="heading">Deprecated:</dt>
261
- <dt>
262
- {+resolveLinks(data.deprecated)+}
263
- </dt>
264
- </dl>
265
- </if>
266
- <if test="data.since">
267
- <dl class="detailList">
268
- <dt class="heading">Since:</dt>
269
- <dd>{+ data.since +}</dd>
270
- </dl>
271
- </if>
272
- <if test="data.exceptions.length">
273
- <dl class="detailList">
274
- <dt class="heading">Throws:</dt>
275
- <for each="item" in="data.exceptions">
276
- <dt>
277
- {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
278
- </dt>
279
- <dd>{+resolveLinks(item.desc)+}</dd>
280
- </for>
281
- </dl>
282
- </if>
283
- <if test="data.returns.length">
284
- <dl class="detailList">
285
- <dt class="heading">Returns:</dt>
286
- <for each="item" in="data.returns">
287
- <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
288
- </for>
289
- </dl>
290
- </if>
291
- <if test="data.requires.length">
292
- <dl class="detailList">
293
- <dt class="heading">Requires:</dt>
294
- <for each="item" in="data.requires">
295
- <dd>{+ resolveLinks(item) +}</dd>
296
- </for>
297
- </dl>
298
- </if>
299
- <if test="data.see.length">
300
- <dl class="detailList">
301
- <dt class="heading">See:</dt>
302
- <for each="item" in="data.see">
303
- <dd>{+ new Link().toSymbol(item) +}</dd>
304
- </for>
305
- </dl>
306
- </if>
307
-
308
- </div>
309
- </if>
310
-
311
- <!-- ============================== field details ========================== -->
312
- <if test="defined(ownProperties) && ownProperties.length">
313
- <div class="sectionTitle">
314
- Field Detail
315
- </div>
316
- <for each="member" in="ownProperties">
317
- <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
318
- <div class="fixedFont">{!
319
- if (member.isPrivate) output += "&lt;private&gt; ";
320
- if (member.isInner) output += "&lt;inner&gt; ";
321
- if (member.isStatic) output += "&lt;static&gt; ";
322
- if (member.isConstant) output += "&lt;constant&gt; ";
323
- !}
324
-
325
- <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
326
- <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>
327
-
328
- </div>
329
- <div class="description">
330
- {+resolveLinks(member.desc)+}
331
- <if test="member.srcFile != data.srcFile">
332
- <br />
333
- <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
334
- </if>
335
- <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
336
- </div>
337
-
338
- <if test="member.example.length">
339
- <for each="example" in="member.example">
340
- <pre class="code">{+example+}</pre>
341
- </for>
342
- </if>
343
-
344
- <if test="member.deprecated">
345
- <dl class="detailList">
346
- <dt class="heading">Deprecated:</dt>
347
- <dt>
348
- {+ member.deprecated +}
349
- </dt>
350
- </dl>
351
- </if>
352
- <if test="member.since">
353
- <dl class="detailList">
354
- <dt class="heading">Since:</dt>
355
- <dd>{+ member.since +}</dd>
356
- </dl>
357
- </if>
358
- <if test="member.see.length">
359
- <dl class="detailList">
360
- <dt class="heading">See:</dt>
361
- <for each="item" in="member.see">
362
- <dd>{+ new Link().toSymbol(item) +}</dd>
363
- </for>
364
- </dl>
365
- </if>
366
- <if test="member.defaultValue">
367
- <dl class="detailList">
368
- <dt class="heading">Default Value:</dt>
369
- <dd>
370
- {+resolveLinks(member.defaultValue)+}
371
- </dd>
372
- </dl>
373
- </if>
374
-
375
- <if test="!$member_last"><hr /></if>
376
- </for>
377
- </if>
378
-
379
- <!-- ============================== method details ========================= -->
380
- <if test="defined(ownMethods) && ownMethods.length">
381
- <div class="sectionTitle">
382
- Method Detail
383
- </div>
384
- <for each="member" in="ownMethods">
385
- <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
386
- <div class="fixedFont">{!
387
- if (member.isPrivate) output += "&lt;private&gt; ";
388
- if (member.isInner) output += "&lt;inner&gt; ";
389
- if (member.isStatic) output += "&lt;static&gt; ";
390
- !}
391
-
392
- <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
393
- <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>{+makeSignature(member.params)+}
394
-
395
- </div>
396
- <div class="description">
397
- {+resolveLinks(member.desc)+}
398
- <if test="member.srcFile != data.srcFile">
399
- <br />
400
- <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
401
- </if>
402
- <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
403
- </div>
404
-
405
- <if test="member.example.length">
406
- <for each="example" in="member.example">
407
- <pre class="code">{+example+}</pre>
408
- </for>
409
- </if>
410
-
411
- <if test="member.params.length">
412
- <dl class="detailList">
413
- <dt class="heading">Parameters:</dt>
414
- <for each="item" in="member.params">
415
- <dt>
416
- {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
417
- <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
418
- </dt>
419
- <dd>{+resolveLinks(item.desc)+}</dd>
420
- </for>
421
- </dl>
422
- </if>
423
- <if test="member.deprecated">
424
- <dl class="detailList">
425
- <dt class="heading">Deprecated:</dt>
426
- <dt>
427
- {+member.deprecated+}
428
- </dt>
429
- </dl>
430
- </if>
431
- <if test="member.since">
432
- <dl class="detailList">
433
- <dt class="heading">Since:</dt>
434
- <dd>{+ member.since +}</dd>
435
- </dl>
436
- </dl>
437
- </if>
438
- <if test="member.exceptions.length">
439
- <dl class="detailList">
440
- <dt class="heading">Throws:</dt>
441
- <for each="item" in="member.exceptions">
442
- <dt>
443
- {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
444
- </dt>
445
- <dd>{+resolveLinks(item.desc)+}</dd>
446
- </for>
447
- </dl>
448
- </if>
449
- <if test="member.returns.length">
450
- <dl class="detailList">
451
- <dt class="heading">Returns:</dt>
452
- <for each="item" in="member.returns">
453
- <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
454
- </for>
455
- </dl>
456
- </if>
457
- <if test="member.requires.length">
458
- <dl class="detailList">
459
- <dt class="heading">Requires:</dt>
460
- <for each="item" in="member.requires">
461
- <dd>{+ resolveLinks(item) +}</dd>
462
- </for>
463
- </dl>
464
- </if>
465
- <if test="member.see.length">
466
- <dl class="detailList">
467
- <dt class="heading">See:</dt>
468
- <for each="item" in="member.see">
469
- <dd>{+ new Link().toSymbol(item) +}</dd>
470
- </for>
471
- </dl>
472
- </if>
473
-
474
- <if test="!$member_last"><hr /></if>
475
- </for>
476
- </if>
477
-
478
- <hr />
479
- </div>
480
-
481
- <!-- ============================== footer ================================= -->
482
- <div class="fineprint" style="clear:both">
483
- <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
484
- Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
485
- </div>
486
- </body>
487
- </html>