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,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">©{+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 "<"+srcFilePath+">";
|
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,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">©{+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>
|