sproutcore 1.6.0.rc.1-x86-mingw32 → 1.6.0.rc.2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,38 +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
-
7
- <title>JsDoc Reference - 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
-
24
- <for each="thisClass" in="data">
25
- <div>
26
- <h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
27
- {+resolveLinks(summarize(thisClass.classDesc))+}
28
- </div>
29
- <hr />
30
- </for>
31
-
32
- </div>
33
- <div class="fineprint" style="clear:both">
34
- <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
35
- Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
36
- </div>
37
- </body>
38
- </html>
@@ -1,170 +0,0 @@
1
- function publish(symbolSet) {
2
- publish.conf = { // trailing slash expected for dirs
3
- ext: ".html",
4
- outDir: JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
5
- templatesDir: JSDOC.opt.t || SYS.pwd+"../doc_templates/jsdoc/",
6
- symbolsDir: "symbols/",
7
- srcDir: "symbols/src/"
8
- };
9
-
10
- if (!publish.conf.templatesDir.match(/\/$/)) {
11
- publish.conf.templatesDir += '/'; // add trailing slash
12
- }
13
-
14
-
15
- if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
16
- Link.prototype._makeSrcLink = function(srcFilePath) {
17
- return "&lt;"+srcFilePath+"&gt;";
18
- }
19
- }
20
-
21
- IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
22
-
23
- // used to check the details of things being linked to
24
- Link.symbolSet = symbolSet;
25
-
26
- try {
27
- var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
28
- var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
29
- }
30
- catch(e) {
31
- print(e.message);
32
- quit();
33
- }
34
-
35
- // filters
36
- function hasNoParent($) {return ($.memberOf == "")}
37
- function isaFile($) {return ($.is("FILE"))}
38
- function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
39
-
40
- var symbols = symbolSet.toArray();
41
-
42
- var files = JSDOC.opt.srcFiles;
43
- for (var i = 0, l = files.length; i < l; i++) {
44
- var file = files[i];
45
- var srcDir = publish.conf.outDir + "symbols/src/";
46
- makeSrcFile(file, srcDir);
47
- }
48
-
49
- var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
50
-
51
- Link.base = "../";
52
- publish.classesIndex = classesTemplate.process(classes); // kept in memory
53
-
54
- for (var i = 0, l = classes.length; i < l; i++) {
55
- var symbol = classes[i];
56
- var output = "";
57
- output = classTemplate.process(symbol);
58
-
59
- IO.saveFile(publish.conf.outDir+"symbols/", symbol.alias+publish.conf.ext, output);
60
- }
61
-
62
- // regenrate the index with different relative links
63
- Link.base = "";
64
- publish.classesIndex = classesTemplate.process(classes);
65
-
66
- try {
67
- var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
68
- }
69
- catch(e) { print(e.message); quit(); }
70
-
71
- var classesIndex = classesindexTemplate.process(classes);
72
- IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
73
- classesindexTemplate = classesIndex = classes = null;
74
-
75
- try {
76
- var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
77
- }
78
- catch(e) { print(e.message); quit(); }
79
-
80
- var documentedFiles = symbols.filter(isaFile);
81
- var allFiles = [];
82
-
83
- for (var i = 0; i < files.length; i++) {
84
- allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
85
- }
86
-
87
- for (var i = 0; i < documentedFiles.length; i++) {
88
- var offset = files.indexOf(documentedFiles[i].alias);
89
- allFiles[offset] = documentedFiles[i];
90
- }
91
-
92
- allFiles = allFiles.sort(makeSortby("name"));
93
-
94
- var filesIndex = fileindexTemplate.process(allFiles);
95
- IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
96
- fileindexTemplate = filesIndex = files = null;
97
- }
98
-
99
-
100
- /** Just the first sentence. Should not break on dotted variable names. */
101
- function summarize(desc) {
102
- if (typeof desc != "undefined")
103
- return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
104
- }
105
-
106
- /** make a symbol sorter by some attribute */
107
- function makeSortby(attribute) {
108
- return function(a, b) {
109
- if (a[attribute] != undefined && b[attribute] != undefined) {
110
- a = a[attribute].toLowerCase();
111
- b = b[attribute].toLowerCase();
112
- if (a < b) return -1;
113
- if (a > b) return 1;
114
- return 0;
115
- }
116
- }
117
- }
118
-
119
- function include(path) {
120
- var path = publish.conf.templatesDir+path;
121
- return IO.readFile(path);
122
- }
123
-
124
- function makeSrcFile(path, srcDir, name) {
125
- if (JSDOC.opt.s) return;
126
-
127
- if (!name) {
128
- name = path.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
129
- name = name.replace(/\:/g, "_");
130
- }
131
-
132
- var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
133
-
134
- if (defined(JSDOC.PluginManager)) {
135
- JSDOC.PluginManager.run("onPublishSrc", src);
136
- }
137
-
138
- if (src.hilited) {
139
- IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
140
- }
141
- }
142
-
143
- function makeSignature(params) {
144
- if (!params) return "()";
145
- var signature = "("
146
- +
147
- params.filter(
148
- function($) {
149
- return $.name.indexOf(".") == -1; // don't show config params in signature
150
- }
151
- ).map(
152
- function($) {
153
- return $.name;
154
- }
155
- ).join(", ")
156
- +
157
- ")";
158
- return signature;
159
- }
160
-
161
- /** Find symbol {@link ...} strings in text and turn into html links */
162
- function resolveLinks(str, from) {
163
- str = str.replace(/\{@link ([^} ]+) ?\}/gi,
164
- function(match, symbolName) {
165
- return new Link().toSymbol(symbolName);
166
- }
167
- );
168
-
169
- return str;
170
- }
@@ -1,162 +0,0 @@
1
- /* default.css */
2
- body
3
- {
4
- font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
5
- width: 800px;
6
- }
7
-
8
- .header
9
- {
10
- clear: both;
11
- background-color: #ccc;
12
- padding: 8px;
13
- }
14
-
15
- h1
16
- {
17
- font-size: 150%;
18
- font-weight: bold;
19
- padding: 0;
20
- margin: 1em 0 0 .3em;
21
- }
22
-
23
- hr
24
- {
25
- border: none 0;
26
- border-top: 1px solid #7F8FB1;
27
- height: 1px;
28
- }
29
-
30
- pre.code
31
- {
32
- display: block;
33
- padding: 8px;
34
- border: 1px dashed #ccc;
35
- }
36
-
37
- #index
38
- {
39
- margin-top: 24px;
40
- float: left;
41
- width: 160px;
42
- position: absolute;
43
- left: 8px;
44
- background-color: #F3F3F3;
45
- padding: 8px;
46
- }
47
-
48
- #content
49
- {
50
- margin-left: 190px;
51
- width: 600px;
52
- }
53
-
54
- .classList
55
- {
56
- list-style-type: none;
57
- padding: 0;
58
- margin: 0 0 0 8px;
59
- font-family: arial, sans-serif;
60
- font-size: 1em;
61
- overflow: auto;
62
- }
63
-
64
- .classList li
65
- {
66
- padding: 0;
67
- margin: 0 0 8px 0;
68
- }
69
-
70
- .summaryTable { width: 100%; }
71
-
72
- h1.classTitle
73
- {
74
- font-size:170%;
75
- line-height:130%;
76
- }
77
-
78
- h2 { font-size: 110%; }
79
- caption, div.sectionTitle
80
- {
81
- background-color: #7F8FB1;
82
- color: #fff;
83
- font-size:130%;
84
- text-align: left;
85
- padding: 2px 6px 2px 6px;
86
- border: 1px #7F8FB1 solid;
87
- }
88
-
89
- div.sectionTitle { margin-bottom: 8px; }
90
- .summaryTable thead { display: none; }
91
-
92
- .summaryTable td
93
- {
94
- vertical-align: top;
95
- padding: 4px;
96
- border-bottom: 1px #7F8FB1 solid;
97
- border-right: 1px #7F8FB1 solid;
98
- }
99
-
100
- /*col#summaryAttributes {}*/
101
- .summaryTable td.attributes
102
- {
103
- border-left: 1px #7F8FB1 solid;
104
- width: 140px;
105
- text-align: right;
106
- }
107
-
108
- td.attributes, .fixedFont
109
- {
110
- line-height: 15px;
111
- color: #002EBE;
112
- font-family: "Courier New",Courier,monospace;
113
- font-size: 13px;
114
- }
115
-
116
- .summaryTable td.nameDescription
117
- {
118
- text-align: left;
119
- font-size: 13px;
120
- line-height: 15px;
121
- }
122
-
123
- .summaryTable td.nameDescription, .description
124
- {
125
- line-height: 15px;
126
- padding: 4px;
127
- padding-left: 4px;
128
- }
129
-
130
- .summaryTable { margin-bottom: 8px; }
131
-
132
- ul.inheritsList
133
- {
134
- list-style: square;
135
- margin-left: 20px;
136
- padding-left: 0;
137
- }
138
-
139
- .detailList {
140
- margin-left: 20px;
141
- line-height: 15px;
142
- }
143
- .detailList dt { margin-left: 20px; }
144
-
145
- .detailList .heading
146
- {
147
- font-weight: bold;
148
- padding-bottom: 6px;
149
- margin-left: 0;
150
- }
151
-
152
- .light, td.attributes, .light a:link, .light a:visited
153
- {
154
- color: #777;
155
- font-style: italic;
156
- }
157
-
158
- .fineprint
159
- {
160
- text-align: right;
161
- font-size: 10px;
162
- }
@@ -1,2 +0,0 @@
1
- <div id="header">
2
- </div>
@@ -1,19 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.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=utf-8" />
6
- <title>Generated Javascript Documentation</title>
7
- </head>
8
- <frameset cols="20%,80%">
9
- <frame src="allclasses-frame.html" name="packageFrame" />
10
- <frame src="splash.html" name="classFrame" />
11
- <noframes>
12
- <body>
13
- <p>
14
- This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
15
- </p>
16
- </body>
17
- </noframes>
18
- </frameset>
19
- </html>
@@ -1,35 +0,0 @@
1
- <symbol alias="{+data.alias+}">
2
- <name>{+data.name+}</name>
3
- <memberOf>{+data.memberOf+}</memberOf>
4
- <isStatic>{+data.isStatic+}</isStatic>
5
- <isa>{+data.isa+}</isa>
6
- <desc>{+data.desc+}</desc>
7
- <classDesc>{+data.classDesc+}</classDesc>
8
-
9
- <methods><for each="method" in="data.methods">
10
- <method>
11
- <name>{+method.name+}</name>
12
- <memberOf>{+method.memberOf+}</memberOf>
13
- <isStatic>{+method.isStatic+}</isStatic>
14
- <desc>{+method.desc+}</desc>
15
- <params><for each="param" in="method.params">
16
- <param>
17
- <type>{+param.type+}</type>
18
- <name>{+param.name+}</name>
19
- <desc>{+param.desc+}</desc>
20
- <defaultValue>{+param.defaultValue+}</defaultValue>
21
- </param></for>
22
- </params>
23
- </method></for>
24
- </methods>
25
-
26
- <properties><for each="property" in="data.properties">
27
- <property>
28
- <name>{+property.name+}</name>
29
- <memberOf>{+property.memberOf+}</memberOf>
30
- <isStatic>{+property.isStatic+}</isStatic>
31
- <desc>{+property.desc+}</desc>
32
- <type>{+property.type+}</type>
33
- </property></for>
34
- </properties>
35
- </symbol>
File without changes
@@ -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>