jsc3d-rails 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +33 -0
- data/jsc3d-rails.gemspec +23 -0
- data/lib/generators/jquery/install/install_generator.rb +59 -0
- data/lib/jsc3d-rails.rb +1 -0
- data/lib/jsc3d/rails.rb +8 -0
- data/lib/jsc3d/rails/engine.rb +6 -0
- data/lib/jsc3d/rails/version.rb +6 -0
- data/vendor/assets/javascripts/bin/jsc3d.min.js +139 -0
- data/vendor/assets/javascripts/bin/jsc3d_ie.min.js +133 -0
- data/vendor/assets/javascripts/build/compile.bat +1 -0
- data/vendor/assets/javascripts/build/compile.sh +2 -0
- data/vendor/assets/javascripts/build/gendoc.bat +2 -0
- data/vendor/assets/javascripts/build/gendoc.sh +2 -0
- data/vendor/assets/javascripts/docs/files.html +247 -0
- data/vendor/assets/javascripts/docs/index.html +349 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.AABB.html +436 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.BinaryStream.html +1051 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.LoaderSelector.html +455 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Material.html +430 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Math3D.html +468 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Matrix3x4.html +682 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Mesh.html +628 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.ObjLoader.html +428 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.PickInfo.html +332 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Scene.html +571 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.StlLoader.html +473 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Texture.html +589 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Viewer.html +1156 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.html +329 -0
- data/vendor/assets/javascripts/docs/symbols/_global_.html +279 -0
- data/vendor/assets/javascripts/docs/symbols/src/jsc3d.js.html +4804 -0
- data/vendor/assets/javascripts/jsc3d.console.js +146 -0
- data/vendor/assets/javascripts/jsc3d.js +4796 -0
- data/vendor/assets/javascripts/jsc3d_ie.js +4487 -0
- data/vendor/assets/javascripts/tools/closure/COPYING +202 -0
- data/vendor/assets/javascripts/tools/closure/README +261 -0
- data/vendor/assets/javascripts/tools/closure/USAGE +87 -0
- data/vendor/assets/javascripts/tools/closure/compiler.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/README.txt +146 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Chain.js +102 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Dumper.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Hash.js +84 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Link.js +148 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Namespace.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Opt.js +134 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Reflection.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/String.js +93 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Testrun.js +129 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/FOODOC.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/DomReader.js +159 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLDoc.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLParse.js +292 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC.js +101 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocComment.js +200 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocTag.js +294 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsDoc.js +126 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsPlate.js +109 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Lang.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Parser.js +107 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/PluginManager.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Symbol.js +643 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/SymbolSet.js +229 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TextStream.js +41 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Token.js +18 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenReader.js +332 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenStream.js +133 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Util.js +32 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Walker.js +459 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/main.js +111 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/commentSrcJson.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/frameworkPrototype.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/functionCall.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/publishSrcHilite.js +62 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/symbolLink.js +9 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagParamConfig.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagSynonyms.js +43 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/run.js +348 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/t/TestDoc.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/t/runner.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test.js +307 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/addon.js +24 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/anon_inner.js +14 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/augments.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/augments2.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows.js +41 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows2.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/config.js +22 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/constructs.js +18 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding_other.js +12 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/event.js +54 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_anon.js +39 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_nested.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/global.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/globals.js +25 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/ignore.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/inner.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/jsdoc_test.js +477 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/lend.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof.js +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof_constructor.js +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/name.js +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/namespace_nested.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/nocode.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/oblit_anon.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/overview.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/param_inline.js +37 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/params_optional.js +8 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype.js +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_nested.js +9 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit_constructor.js +24 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/public.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shared.js +42 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shared2.js +2 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shortcuts.js +22 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/static_this.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/synonyms.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/tosource.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/variable_redefine.js +14 -0
- data/vendor/assets/javascripts/tools/doc_generator/changes.txt +75 -0
- data/vendor/assets/javascripts/tools/doc_generator/conf/sample.conf +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/build.xml +36 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/build_1.4.xml +36 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/classes/js.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/src/JsDebugRun.java +21 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/src/JsRun.java +21 -0
- data/vendor/assets/javascripts/tools/doc_generator/jsdebug.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/jsrun.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allclasses.tmpl +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allfiles.tmpl +56 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/class.tmpl +646 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/index.tmpl +39 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/publish.js +184 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/default.css +165 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/header.html +2 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/index.html +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/symbol.tmpl +35 -0
- metadata +234 -0
@@ -0,0 +1,39 @@
|
|
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
|
+
<h1 class="classTitle">Class Index</h1>
|
24
|
+
|
25
|
+
<for each="thisClass" in="data">
|
26
|
+
<div>
|
27
|
+
<h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
|
28
|
+
{+resolveLinks(summarize(thisClass.classDesc))+}
|
29
|
+
</div>
|
30
|
+
<hr />
|
31
|
+
</for>
|
32
|
+
|
33
|
+
</div>
|
34
|
+
<div class="fineprint" style="clear:both">
|
35
|
+
<if test="JSDOC.opt.D.copyright">©{+JSDOC.opt.D.copyright+}<br /></if>
|
36
|
+
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
|
37
|
+
</div>
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,184 @@
|
|
1
|
+
/** Called automatically by JsDoc Toolkit. */
|
2
|
+
function publish(symbolSet) {
|
3
|
+
publish.conf = { // trailing slash expected for dirs
|
4
|
+
ext: ".html",
|
5
|
+
outDir: JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
|
6
|
+
templatesDir: JSDOC.opt.t || SYS.pwd+"../templates/jsdoc/",
|
7
|
+
symbolsDir: "symbols/",
|
8
|
+
srcDir: "symbols/src/"
|
9
|
+
};
|
10
|
+
|
11
|
+
// is source output is suppressed, just display the links to the source file
|
12
|
+
if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
|
13
|
+
Link.prototype._makeSrcLink = function(srcFilePath) {
|
14
|
+
return "<"+srcFilePath+">";
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
// create the folders and subfolders to hold the output
|
19
|
+
IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
|
20
|
+
|
21
|
+
// used to allow Link to check the details of things being linked to
|
22
|
+
Link.symbolSet = symbolSet;
|
23
|
+
|
24
|
+
// create the required templates
|
25
|
+
try {
|
26
|
+
var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
|
27
|
+
var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
|
28
|
+
}
|
29
|
+
catch(e) {
|
30
|
+
print("Couldn't create the required templates: "+e);
|
31
|
+
quit();
|
32
|
+
}
|
33
|
+
|
34
|
+
// some ustility filters
|
35
|
+
function hasNoParent($) {return ($.memberOf == "")}
|
36
|
+
function isaFile($) {return ($.is("FILE"))}
|
37
|
+
function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
|
38
|
+
|
39
|
+
// get an array version of the symbolset, useful for filtering
|
40
|
+
var symbols = symbolSet.toArray();
|
41
|
+
|
42
|
+
// create the hilited source code files
|
43
|
+
var files = JSDOC.opt.srcFiles;
|
44
|
+
for (var i = 0, l = files.length; i < l; i++) {
|
45
|
+
var file = files[i];
|
46
|
+
var srcDir = publish.conf.outDir + "symbols/src/";
|
47
|
+
makeSrcFile(file, srcDir);
|
48
|
+
}
|
49
|
+
|
50
|
+
// get a list of all the classes in the symbolset
|
51
|
+
var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
|
52
|
+
|
53
|
+
// create a class index, displayed in the left-hand column of every class page
|
54
|
+
Link.base = "../";
|
55
|
+
publish.classesIndex = classesTemplate.process(classes); // kept in memory
|
56
|
+
|
57
|
+
// create each of the class pages
|
58
|
+
for (var i = 0, l = classes.length; i < l; i++) {
|
59
|
+
var symbol = classes[i];
|
60
|
+
|
61
|
+
symbol.events = symbol.getEvents(); // 1 order matters
|
62
|
+
symbol.methods = symbol.getMethods(); // 2
|
63
|
+
|
64
|
+
var output = "";
|
65
|
+
output = classTemplate.process(symbol);
|
66
|
+
|
67
|
+
IO.saveFile(publish.conf.outDir+"symbols/", symbol.alias+publish.conf.ext, output);
|
68
|
+
}
|
69
|
+
|
70
|
+
// regenerate the index with different relative links, used in the index pages
|
71
|
+
Link.base = "";
|
72
|
+
publish.classesIndex = classesTemplate.process(classes);
|
73
|
+
|
74
|
+
// create the class index page
|
75
|
+
try {
|
76
|
+
var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
|
77
|
+
}
|
78
|
+
catch(e) { print(e.message); quit(); }
|
79
|
+
|
80
|
+
var classesIndex = classesindexTemplate.process(classes);
|
81
|
+
IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
|
82
|
+
classesindexTemplate = classesIndex = classes = null;
|
83
|
+
|
84
|
+
// create the file index page
|
85
|
+
try {
|
86
|
+
var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
|
87
|
+
}
|
88
|
+
catch(e) { print(e.message); quit(); }
|
89
|
+
|
90
|
+
var documentedFiles = symbols.filter(isaFile); // files that have file-level docs
|
91
|
+
var allFiles = []; // not all files have file-level docs, but we need to list every one
|
92
|
+
|
93
|
+
for (var i = 0; i < files.length; i++) {
|
94
|
+
allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
|
95
|
+
}
|
96
|
+
|
97
|
+
for (var i = 0; i < documentedFiles.length; i++) {
|
98
|
+
var offset = files.indexOf(documentedFiles[i].alias);
|
99
|
+
allFiles[offset] = documentedFiles[i];
|
100
|
+
}
|
101
|
+
|
102
|
+
allFiles = allFiles.sort(makeSortby("name"));
|
103
|
+
|
104
|
+
// output the file index page
|
105
|
+
var filesIndex = fileindexTemplate.process(allFiles);
|
106
|
+
IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
|
107
|
+
fileindexTemplate = filesIndex = files = null;
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
/** Just the first sentence (up to a full stop). Should not break on dotted variable names. */
|
112
|
+
function summarize(desc) {
|
113
|
+
if (typeof desc != "undefined")
|
114
|
+
return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
|
115
|
+
}
|
116
|
+
|
117
|
+
/** Make a symbol sorter by some attribute. */
|
118
|
+
function makeSortby(attribute) {
|
119
|
+
return function(a, b) {
|
120
|
+
if (a[attribute] != undefined && b[attribute] != undefined) {
|
121
|
+
a = a[attribute].toLowerCase();
|
122
|
+
b = b[attribute].toLowerCase();
|
123
|
+
if (a < b) return -1;
|
124
|
+
if (a > b) return 1;
|
125
|
+
return 0;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
/** Pull in the contents of an external file at the given path. */
|
131
|
+
function include(path) {
|
132
|
+
var path = publish.conf.templatesDir+path;
|
133
|
+
return IO.readFile(path);
|
134
|
+
}
|
135
|
+
|
136
|
+
/** Turn a raw source file into a code-hilited page in the docs. */
|
137
|
+
function makeSrcFile(path, srcDir, name) {
|
138
|
+
if (JSDOC.opt.s) return;
|
139
|
+
|
140
|
+
if (!name) {
|
141
|
+
name = path.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
|
142
|
+
name = name.replace(/\:/g, "_");
|
143
|
+
}
|
144
|
+
|
145
|
+
var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
|
146
|
+
|
147
|
+
if (defined(JSDOC.PluginManager)) {
|
148
|
+
JSDOC.PluginManager.run("onPublishSrc", src);
|
149
|
+
}
|
150
|
+
|
151
|
+
if (src.hilited) {
|
152
|
+
IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
/** Build output for displaying function parameters. */
|
157
|
+
function makeSignature(params) {
|
158
|
+
if (!params) return "()";
|
159
|
+
var signature = "("
|
160
|
+
+
|
161
|
+
params.filter(
|
162
|
+
function($) {
|
163
|
+
return $.name.indexOf(".") == -1; // don't show config params in signature
|
164
|
+
}
|
165
|
+
).map(
|
166
|
+
function($) {
|
167
|
+
return $.name;
|
168
|
+
}
|
169
|
+
).join(", ")
|
170
|
+
+
|
171
|
+
")";
|
172
|
+
return signature;
|
173
|
+
}
|
174
|
+
|
175
|
+
/** Find symbol {@link ...} strings in text and turn into html links */
|
176
|
+
function resolveLinks(str, from) {
|
177
|
+
str = str.replace(/\{@link ([^} ]+) ?\}/gi,
|
178
|
+
function(match, symbolName) {
|
179
|
+
return new Link().toSymbol(symbolName);
|
180
|
+
}
|
181
|
+
);
|
182
|
+
|
183
|
+
return str;
|
184
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
/* default.css */
|
2
|
+
|
3
|
+
|
4
|
+
body
|
5
|
+
{
|
6
|
+
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
|
7
|
+
width: 800px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.header
|
11
|
+
{
|
12
|
+
clear: both;
|
13
|
+
background-color: #ccc;
|
14
|
+
padding: 8px;
|
15
|
+
}
|
16
|
+
|
17
|
+
h1
|
18
|
+
{
|
19
|
+
font-size: 150%;
|
20
|
+
font-weight: bold;
|
21
|
+
padding: 0;
|
22
|
+
margin: 1em 0 0 .3em;
|
23
|
+
}
|
24
|
+
|
25
|
+
hr
|
26
|
+
{
|
27
|
+
border: none 0;
|
28
|
+
border-top: 1px solid #7F8FB1;
|
29
|
+
height: 1px;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre.code
|
33
|
+
{
|
34
|
+
display: inline;
|
35
|
+
// padding: 8px;
|
36
|
+
// border: 1px dashed #ccc;
|
37
|
+
background-color: #4AA02C;
|
38
|
+
}
|
39
|
+
|
40
|
+
#index
|
41
|
+
{
|
42
|
+
margin-top: 24px;
|
43
|
+
float: left;
|
44
|
+
width: 160px;
|
45
|
+
position: absolute;
|
46
|
+
left: 8px;
|
47
|
+
background-color: #F3F3F3;
|
48
|
+
padding: 8px;
|
49
|
+
}
|
50
|
+
|
51
|
+
#content
|
52
|
+
{
|
53
|
+
margin-left: 190px;
|
54
|
+
width: 600px;
|
55
|
+
}
|
56
|
+
|
57
|
+
.classList
|
58
|
+
{
|
59
|
+
list-style-type: none;
|
60
|
+
padding: 0;
|
61
|
+
margin: 0 0 0 8px;
|
62
|
+
font-family: arial, sans-serif;
|
63
|
+
font-size: 1em;
|
64
|
+
overflow: auto;
|
65
|
+
}
|
66
|
+
|
67
|
+
.classList li
|
68
|
+
{
|
69
|
+
padding: 0;
|
70
|
+
margin: 0 0 8px 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
.summaryTable { width: 100%; }
|
74
|
+
|
75
|
+
h1.classTitle
|
76
|
+
{
|
77
|
+
font-size:170%;
|
78
|
+
line-height:130%;
|
79
|
+
}
|
80
|
+
|
81
|
+
h2 { font-size: 110%; }
|
82
|
+
caption, div.sectionTitle
|
83
|
+
{
|
84
|
+
background-color: #7F8FB1;
|
85
|
+
color: #fff;
|
86
|
+
font-size:130%;
|
87
|
+
text-align: left;
|
88
|
+
padding: 2px 6px 2px 6px;
|
89
|
+
border: 1px #7F8FB1 solid;
|
90
|
+
}
|
91
|
+
|
92
|
+
div.sectionTitle { margin-bottom: 8px; }
|
93
|
+
.summaryTable thead { display: none; }
|
94
|
+
|
95
|
+
.summaryTable td
|
96
|
+
{
|
97
|
+
vertical-align: top;
|
98
|
+
padding: 4px;
|
99
|
+
border-bottom: 1px #7F8FB1 solid;
|
100
|
+
border-right: 1px #7F8FB1 solid;
|
101
|
+
}
|
102
|
+
|
103
|
+
/*col#summaryAttributes {}*/
|
104
|
+
.summaryTable td.attributes
|
105
|
+
{
|
106
|
+
border-left: 1px #7F8FB1 solid;
|
107
|
+
width: 140px;
|
108
|
+
text-align: right;
|
109
|
+
}
|
110
|
+
|
111
|
+
td.attributes, .fixedFont
|
112
|
+
{
|
113
|
+
line-height: 15px;
|
114
|
+
color: #002EBE;
|
115
|
+
font-family: "Courier New",Courier,monospace;
|
116
|
+
font-size: 13px;
|
117
|
+
}
|
118
|
+
|
119
|
+
.summaryTable td.nameDescription
|
120
|
+
{
|
121
|
+
text-align: left;
|
122
|
+
font-size: 13px;
|
123
|
+
line-height: 15px;
|
124
|
+
}
|
125
|
+
|
126
|
+
.summaryTable td.nameDescription, .description
|
127
|
+
{
|
128
|
+
line-height: 15px;
|
129
|
+
padding: 4px;
|
130
|
+
padding-left: 4px;
|
131
|
+
}
|
132
|
+
|
133
|
+
.summaryTable { margin-bottom: 8px; }
|
134
|
+
|
135
|
+
ul.inheritsList
|
136
|
+
{
|
137
|
+
list-style: square;
|
138
|
+
margin-left: 20px;
|
139
|
+
padding-left: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
.detailList {
|
143
|
+
margin-left: 20px;
|
144
|
+
line-height: 15px;
|
145
|
+
}
|
146
|
+
.detailList dt { margin-left: 20px; }
|
147
|
+
|
148
|
+
.detailList .heading
|
149
|
+
{
|
150
|
+
font-weight: bold;
|
151
|
+
padding-bottom: 6px;
|
152
|
+
margin-left: 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
.light, td.attributes, .light a:link, .light a:visited
|
156
|
+
{
|
157
|
+
color: #777;
|
158
|
+
font-style: italic;
|
159
|
+
}
|
160
|
+
|
161
|
+
.fineprint
|
162
|
+
{
|
163
|
+
text-align: right;
|
164
|
+
font-size: 10px;
|
165
|
+
}
|
@@ -0,0 +1,19 @@
|
|
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>
|
@@ -0,0 +1,35 @@
|
|
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>
|