sproutcore 0.9.13 → 0.9.14
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +19 -0
- data/Manifest.txt +103 -26
- data/app_generators/sproutcore/templates/README +1 -1
- data/bin/sc-build +1 -1
- data/bin/sc-gen +0 -0
- data/bin/sc-ide +278 -0
- data/bin/sc-init +38 -0
- data/bin/sc-install +96 -0
- data/bin/sc-remove +94 -0
- data/bin/sc-server +4 -0
- data/bin/sc-update +94 -0
- data/bin/sproutcore +3 -14
- data/clients/sc_docs/controllers/docs.js +1 -1
- data/clients/sc_docs/models/doc.js +6 -0
- data/clients/sc_docs/views/doc_frame.js +1 -1
- data/clients/sc_test_runner/english.lproj/icons/small/next.png +0 -0
- data/clients/sc_test_runner/english.lproj/icons/small/reset.png +0 -0
- data/frameworks/sproutcore/HISTORY +34 -2
- data/frameworks/sproutcore/controllers/array.js +1 -1
- data/frameworks/sproutcore/controllers/controller.js +1 -1
- data/frameworks/sproutcore/controllers/object.js +9 -6
- data/frameworks/sproutcore/core.js +19 -4
- data/frameworks/sproutcore/english.lproj/blank.gif +0 -0
- data/frameworks/sproutcore/english.lproj/core.css +1 -0
- data/frameworks/sproutcore/english.lproj/menu.css +1 -0
- data/frameworks/sproutcore/foundation/application.js +3 -3
- data/frameworks/sproutcore/foundation/benchmark.js +1 -1
- data/frameworks/sproutcore/foundation/node_descriptor.js +13 -1
- data/frameworks/sproutcore/foundation/page.js +3 -2
- data/frameworks/sproutcore/foundation/path_module.js +33 -16
- data/frameworks/sproutcore/foundation/run_loop.js +1 -1
- data/frameworks/sproutcore/foundation/server.js +68 -18
- data/frameworks/sproutcore/foundation/string.js +1 -1
- data/frameworks/sproutcore/globals/window.js +62 -15
- data/frameworks/sproutcore/lib/core_views.rb +1 -0
- data/frameworks/sproutcore/lib/index.rhtml +4 -3
- data/frameworks/sproutcore/lib/menu_views.rb +2 -2
- data/frameworks/sproutcore/models/collection.js +122 -107
- data/frameworks/sproutcore/models/record.js +2 -2
- data/frameworks/sproutcore/panes/manager.js +1 -1
- data/frameworks/sproutcore/panes/overlay.js +3 -3
- data/frameworks/sproutcore/tests/controllers/object.rhtml +26 -0
- data/frameworks/sproutcore/tests/views/collection/incremental_rendering.rhtml +2 -2
- data/frameworks/sproutcore/views/button/disclosure.js +1 -1
- data/frameworks/sproutcore/views/collection/collection.js +19 -15
- data/frameworks/sproutcore/views/collection/source_list.js +1 -1
- data/frameworks/sproutcore/views/collection/table.js +2 -2
- data/frameworks/sproutcore/views/error_explanation.js +1 -1
- data/frameworks/sproutcore/views/field/checkbox_field.js +1 -1
- data/frameworks/sproutcore/views/field/field.js +1 -1
- data/frameworks/sproutcore/views/field/radio_field.js +1 -1
- data/frameworks/sproutcore/views/field/select_field.js +1 -1
- data/frameworks/sproutcore/views/form.js +1 -1
- data/frameworks/sproutcore/views/image.js +1 -1
- data/frameworks/sproutcore/views/menu_item.js +1 -1
- data/frameworks/sproutcore/views/popup_button.js +1 -1
- data/frameworks/sproutcore/views/popup_menu.js +1 -1
- data/frameworks/sproutcore/views/progress.js +4 -2
- data/frameworks/sproutcore/views/radio_group.js +1 -1
- data/frameworks/sproutcore/views/scroll.js +1 -1
- data/frameworks/sproutcore/views/source_list_group.js +1 -1
- data/frameworks/sproutcore/views/split.js +1 -1
- data/frameworks/sproutcore/views/tab.js +3 -1
- data/frameworks/sproutcore/views/view.js +19 -3
- data/jsdoc/README.txt +89 -57
- data/jsdoc/app/frame/Chain.js +102 -0
- data/jsdoc/app/frame/Dumper.js +144 -0
- data/jsdoc/app/frame/Hash.js +47 -0
- data/jsdoc/app/frame/Link.js +142 -0
- data/jsdoc/app/frame/Namespace.js +10 -0
- data/jsdoc/app/frame/Opt.js +134 -0
- data/jsdoc/app/frame/Reflection.js +26 -0
- data/jsdoc/app/frame/String.js +93 -0
- data/jsdoc/app/frame/Testrun.js +129 -0
- data/jsdoc/app/frame.js +33 -0
- data/jsdoc/app/handlers/FOODOC.js +26 -0
- data/jsdoc/app/handlers/XMLDOC/DomReader.js +159 -0
- data/jsdoc/app/handlers/XMLDOC/XMLDoc.js +16 -0
- data/jsdoc/app/handlers/XMLDOC/XMLParse.js +292 -0
- data/jsdoc/app/handlers/XMLDOC.js +26 -0
- data/jsdoc/app/lib/JSDOC/DocComment.js +200 -0
- data/jsdoc/app/lib/JSDOC/DocTag.js +294 -0
- data/jsdoc/app/lib/JSDOC/JsDoc.js +180 -0
- data/jsdoc/app/lib/JSDOC/JsPlate.js +100 -0
- data/jsdoc/app/lib/JSDOC/Lang.js +144 -0
- data/jsdoc/app/lib/JSDOC/Parser.js +109 -0
- data/jsdoc/app/lib/JSDOC/PluginManager.js +33 -0
- data/jsdoc/app/lib/JSDOC/Symbol.js +600 -0
- data/jsdoc/app/lib/JSDOC/SymbolSet.js +220 -0
- data/jsdoc/app/lib/JSDOC/TextStream.js +41 -0
- data/jsdoc/app/lib/JSDOC/Token.js +18 -0
- data/jsdoc/app/lib/JSDOC/TokenReader.js +323 -0
- data/jsdoc/app/lib/JSDOC/TokenStream.js +133 -0
- data/jsdoc/app/lib/JSDOC/Util.js +32 -0
- data/jsdoc/app/lib/JSDOC/Walker.js +416 -0
- data/jsdoc/app/lib/JSDOC.js +97 -0
- data/jsdoc/app/main.js +74 -0
- data/jsdoc/app/plugins/commentSrcJson.js +19 -0
- data/jsdoc/app/plugins/frameworkPrototype.js +16 -0
- data/jsdoc/app/plugins/functionCall.js +10 -0
- data/jsdoc/app/plugins/publishSrcHilite.js +62 -0
- data/jsdoc/app/plugins/sproutcoreTags.js +26 -0
- data/jsdoc/app/plugins/symbolLink.js +9 -0
- data/jsdoc/app/plugins/tagParamConfig.js +31 -0
- data/jsdoc/app/plugins/tagSynonyms.js +43 -0
- data/jsdoc/app/run.js +339 -137
- data/jsdoc/changes.txt +47 -0
- data/jsdoc/conf/sample.conf +31 -0
- data/jsdoc/java/build.xml +36 -0
- data/jsdoc/java/build_1.4.xml +36 -0
- data/jsdoc/java/classes/js.jar +0 -0
- data/jsdoc/java/src/JsDebugRun.java +21 -0
- data/jsdoc/java/src/JsRun.java +21 -0
- data/jsdoc/jsdebug.jar +0 -0
- data/jsdoc/jsrun.jar +0 -0
- data/jsdoc/t/TestDoc.js +144 -0
- data/jsdoc/t/runner.js +13 -0
- data/jsdoc/templates/sproutcore/allclasses.tmpl +17 -0
- data/jsdoc/templates/sproutcore/allfiles.tmpl +56 -0
- data/jsdoc/templates/sproutcore/class.tmpl +408 -326
- data/jsdoc/templates/sproutcore/index.tmpl +30 -31
- data/jsdoc/templates/sproutcore/publish.js +173 -81
- data/jsdoc/templates/sproutcore/static/default.css +191 -0
- data/jsdoc/templates/sproutcore/static/header.html +2 -0
- data/jsdoc/templates/sproutcore/static/index.html +19 -0
- data/jsdoc/templates/sproutcore/symbol.tmpl +35 -0
- data/jsdoc/test/addon.js +24 -0
- data/jsdoc/test/anon_inner.js +14 -0
- data/jsdoc/test/augments.js +31 -0
- data/jsdoc/test/augments2.js +26 -0
- data/jsdoc/test/borrows.js +41 -0
- data/jsdoc/test/borrows2.js +23 -0
- data/jsdoc/test/config.js +22 -0
- data/jsdoc/test/constructs.js +18 -0
- data/jsdoc/test/encoding.js +10 -0
- data/jsdoc/test/encoding_other.js +12 -0
- data/jsdoc/test/functions_anon.js +39 -0
- data/jsdoc/test/functions_nested.js +33 -0
- data/jsdoc/test/global.js +13 -0
- data/jsdoc/test/globals.js +25 -0
- data/jsdoc/test/ignore.js +10 -0
- data/jsdoc/test/inner.js +16 -0
- data/jsdoc/test/jsdoc_test.js +477 -0
- data/jsdoc/test/lend.js +33 -0
- data/jsdoc/test/memberof.js +20 -0
- data/jsdoc/test/memberof_constructor.js +15 -0
- data/jsdoc/test/name.js +19 -0
- data/jsdoc/test/namespace_nested.js +23 -0
- data/jsdoc/test/nocode.js +13 -0
- data/jsdoc/test/oblit_anon.js +20 -0
- data/jsdoc/test/overview.js +20 -0
- data/jsdoc/test/param_inline.js +37 -0
- data/jsdoc/test/params_optional.js +8 -0
- data/jsdoc/test/prototype.js +17 -0
- data/jsdoc/test/prototype_nested.js +9 -0
- data/jsdoc/test/prototype_oblit.js +13 -0
- data/jsdoc/test/prototype_oblit_constructor.js +24 -0
- data/jsdoc/test/public.js +10 -0
- data/jsdoc/test/shared.js +42 -0
- data/jsdoc/test/shared2.js +2 -0
- data/jsdoc/test/shortcuts.js +22 -0
- data/jsdoc/test/static_this.js +13 -0
- data/jsdoc/test/synonyms.js +23 -0
- data/jsdoc/test/tosource.js +23 -0
- data/jsdoc/test/variable_redefine.js +14 -0
- data/jsdoc/test.js +304 -0
- data/lib/sproutcore/build_tools/resource_builder.rb +6 -1
- data/lib/sproutcore/bundle_installer.rb +268 -0
- data/lib/sproutcore/jsdoc.rb +7 -6
- data/lib/sproutcore/library.rb +38 -0
- data/lib/sproutcore/merb/bundle_controller.rb +8 -4
- data/lib/sproutcore/version.rb +1 -1
- data/lib/sproutcore.rb +1 -1
- data/script/destroy +0 -0
- data/script/generate +0 -0
- data/script/txt2html +0 -0
- metadata +117 -29
- data/clients/view_builder/core.js +0 -19
- data/clients/view_builder/english.lproj/body.css +0 -149
- data/clients/view_builder/english.lproj/body.rhtml +0 -18
- data/clients/view_builder/english.lproj/strings.js +0 -14
- data/clients/view_builder/main.js +0 -37
- data/jsdoc/app/DocFile.js +0 -137
- data/jsdoc/app/DocTag.js +0 -110
- data/jsdoc/app/Doclet.js +0 -63
- data/jsdoc/app/Dumper.js +0 -143
- data/jsdoc/app/JsDoc.js +0 -103
- data/jsdoc/app/JsHilite.js +0 -45
- data/jsdoc/app/JsIO.js +0 -163
- data/jsdoc/app/JsParse.js +0 -385
- data/jsdoc/app/JsPlate.js +0 -130
- data/jsdoc/app/JsTestrun.js +0 -129
- data/jsdoc/app/JsToke.js +0 -564
- data/jsdoc/app/Symbol.js +0 -298
- data/jsdoc/app/Transformer.js +0 -14
- data/jsdoc/app/Util.js +0 -97
- data/jsdoc/app/js.jar +0 -0
- data/jsdoc/plugins/min.js +0 -316
- data/jsdoc/plugins/strip.js +0 -20
- data/jsdoc/templates/sproutcore/default.css +0 -191
- data/jsdoc/templates/sproutcore/index.html +0 -13
- data/jsdoc/templates/sproutcore/prototype.js +0 -4186
- data/jsdoc/templates/sproutcore/splash.html +0 -7
data/jsdoc/plugins/min.js
DELETED
@@ -1,316 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
@overview Remove unnecessary characters from source code and save file.
|
3
|
-
Uses Franck Marcia's adaptation of Douglas Crockford's JsMin tool.
|
4
|
-
@author Michael Mathews micmath@gmail.com
|
5
|
-
*/
|
6
|
-
function deploy_begin(context) {
|
7
|
-
context.src = context.d+"/src";
|
8
|
-
MakeDir(context.src);
|
9
|
-
}
|
10
|
-
|
11
|
-
function deploy_each(sourceFile, context) {
|
12
|
-
var name = sourceFile.fileName.replace(/(\.\.?)?[\/\\]/g, "_");
|
13
|
-
inform("Saving minimized source file to "+name);
|
14
|
-
|
15
|
-
var mini = jsmin(sourceFile.content);
|
16
|
-
SaveFile(context.src, name, mini);
|
17
|
-
}
|
18
|
-
|
19
|
-
function deploy_finish(context) {
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
/*
|
24
|
-
jsmin.js - 2006-08-31
|
25
|
-
Author: Franck Marcia
|
26
|
-
|
27
|
-
This work is an adaptation of jsminc.c published by Douglas Crockford.
|
28
|
-
and copyright (c) 2002 Douglas Crockford (www.crockford.com)
|
29
|
-
|
30
|
-
Permission is hereby granted to use the Javascript version under the same
|
31
|
-
conditions as the jsmin.c on which it is based.
|
32
|
-
|
33
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
34
|
-
this software and associated documentation files (the "Software"), to deal in
|
35
|
-
the Software without restriction, including without limitation the rights to
|
36
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
37
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
38
|
-
so, subject to the following conditions:
|
39
|
-
|
40
|
-
The above copyright notice and this permission notice shall be included in all
|
41
|
-
copies or substantial portions of the Software.
|
42
|
-
|
43
|
-
The Software shall be used for Good, not Evil.
|
44
|
-
|
45
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
46
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
47
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
48
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
49
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
|
-
SOFTWARE.
|
52
|
-
*/
|
53
|
-
|
54
|
-
String.prototype.has = function(c) {
|
55
|
-
return this.indexOf(c) > -1;
|
56
|
-
};
|
57
|
-
|
58
|
-
/*
|
59
|
-
level:
|
60
|
-
1: minimal, keep linefeeds if single
|
61
|
-
2: normal, the standard algorithm
|
62
|
-
3: agressive, remove any linefeed and doesn't take care of potential
|
63
|
-
missing semicolons (can be regressive)
|
64
|
-
*/
|
65
|
-
function jsmin(input, level) {
|
66
|
-
|
67
|
-
if (level === undefined || level < 1 || level > 3) {
|
68
|
-
level = 2;
|
69
|
-
}
|
70
|
-
|
71
|
-
var a = '',
|
72
|
-
b = '',
|
73
|
-
EOF = -1,
|
74
|
-
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
|
75
|
-
DIGITS = '0123456789',
|
76
|
-
ALNUM = LETTERS + DIGITS + '_$\\',
|
77
|
-
theLookahead = EOF;
|
78
|
-
|
79
|
-
|
80
|
-
/* isAlphanum -- return true if the character is a letter, digit, underscore,
|
81
|
-
dollar sign, or non-ASCII character.
|
82
|
-
*/
|
83
|
-
|
84
|
-
function isAlphanum(c) {
|
85
|
-
return c != EOF && (ALNUM.has(c) || c.charCodeAt(0) > 126);
|
86
|
-
}
|
87
|
-
|
88
|
-
/* get -- return the next character. Watch out for lookahead. If the
|
89
|
-
character is a control character, translate it to a space or
|
90
|
-
linefeed.
|
91
|
-
*/
|
92
|
-
|
93
|
-
function get() {
|
94
|
-
var c = theLookahead;
|
95
|
-
if (get.i == get.l) {
|
96
|
-
return EOF;
|
97
|
-
}
|
98
|
-
theLookahead = EOF;
|
99
|
-
if (c == EOF) {
|
100
|
-
c = input.charAt(get.i);
|
101
|
-
++get.i;
|
102
|
-
}
|
103
|
-
if (c >= ' ' || c == '\n') {
|
104
|
-
return c;
|
105
|
-
}
|
106
|
-
if (c == '\r') {
|
107
|
-
return '\n';
|
108
|
-
}
|
109
|
-
return ' ';
|
110
|
-
}
|
111
|
-
|
112
|
-
get.i = 0;
|
113
|
-
get.l = input.length;
|
114
|
-
|
115
|
-
/* peek -- get the next character without getting it.
|
116
|
-
*/
|
117
|
-
|
118
|
-
function peek() {
|
119
|
-
theLookahead = get();
|
120
|
-
return theLookahead;
|
121
|
-
}
|
122
|
-
|
123
|
-
/* next -- get the next character, excluding comments. peek() is used to see
|
124
|
-
if a '/' is followed by a '/' or '*'.
|
125
|
-
*/
|
126
|
-
|
127
|
-
function next() {
|
128
|
-
var c = get();
|
129
|
-
if (c == '/') {
|
130
|
-
switch (peek()) {
|
131
|
-
case '/':
|
132
|
-
for (;;) {
|
133
|
-
c = get();
|
134
|
-
if (c <= '\n') {
|
135
|
-
return c;
|
136
|
-
}
|
137
|
-
}
|
138
|
-
break;
|
139
|
-
case '*':
|
140
|
-
get();
|
141
|
-
for (;;) {
|
142
|
-
switch (get()) {
|
143
|
-
case '*':
|
144
|
-
if (peek() == '/') {
|
145
|
-
get();
|
146
|
-
return ' ';
|
147
|
-
}
|
148
|
-
break;
|
149
|
-
case EOF:
|
150
|
-
throw 'Error: Unterminated comment.';
|
151
|
-
}
|
152
|
-
}
|
153
|
-
break;
|
154
|
-
default:
|
155
|
-
return c;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
return c;
|
159
|
-
}
|
160
|
-
|
161
|
-
/* action -- do something! What you do is determined by the argument:
|
162
|
-
1 Output A. Copy B to A. Get the next B.
|
163
|
-
2 Copy B to A. Get the next B. (Delete A).
|
164
|
-
3 Get the next B. (Delete B).
|
165
|
-
action treats a string as a single character. Wow!
|
166
|
-
action recognizes a regular expression if it is preceded by ( or , or =.
|
167
|
-
*/
|
168
|
-
|
169
|
-
function action(d) {
|
170
|
-
var r = [];
|
171
|
-
|
172
|
-
if (d == 1) {
|
173
|
-
r.push(a);
|
174
|
-
}
|
175
|
-
|
176
|
-
if (d < 3) {
|
177
|
-
a = b;
|
178
|
-
if (a == '\'' || a == '"') {
|
179
|
-
for (;;) {
|
180
|
-
r.push(a);
|
181
|
-
a = get();
|
182
|
-
if (a == b) {
|
183
|
-
break;
|
184
|
-
}
|
185
|
-
if (a <= '\n') {
|
186
|
-
throw 'Error: unterminated string literal: ' + a;
|
187
|
-
}
|
188
|
-
if (a == '\\') {
|
189
|
-
r.push(a);
|
190
|
-
a = get();
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
195
|
-
|
196
|
-
b = next();
|
197
|
-
|
198
|
-
if (b == '/' && '(,=:[!&|'.has(a)) {
|
199
|
-
r.push(a);
|
200
|
-
r.push(b);
|
201
|
-
for (;;) {
|
202
|
-
a = get();
|
203
|
-
if (a == '/') {
|
204
|
-
break;
|
205
|
-
} else if (a =='\\') {
|
206
|
-
r.push(a);
|
207
|
-
a = get();
|
208
|
-
} else if (a <= '\n') {
|
209
|
-
throw 'Error: unterminated Regular Expression literal';
|
210
|
-
}
|
211
|
-
r.push(a);
|
212
|
-
}
|
213
|
-
b = next();
|
214
|
-
}
|
215
|
-
|
216
|
-
return r.join('');
|
217
|
-
}
|
218
|
-
|
219
|
-
/* m -- Copy the input to the output, deleting the characters which are
|
220
|
-
insignificant to JavaScript. Comments will be removed. Tabs will be
|
221
|
-
replaced with spaces. Carriage returns will be replaced with
|
222
|
-
linefeeds.
|
223
|
-
Most spaces and linefeeds will be removed.
|
224
|
-
*/
|
225
|
-
|
226
|
-
function m() {
|
227
|
-
var r = [];
|
228
|
-
|
229
|
-
// ignore UTF BOM characters
|
230
|
-
do {
|
231
|
-
a = next();
|
232
|
-
} while (a.charCodeAt(0) > 255);
|
233
|
-
|
234
|
-
r.push(action(3));
|
235
|
-
|
236
|
-
while (a != EOF) {
|
237
|
-
switch (a) {
|
238
|
-
case ' ':
|
239
|
-
if (isAlphanum(b)) {
|
240
|
-
r.push(action(1));
|
241
|
-
} else {
|
242
|
-
r.push(action(2));
|
243
|
-
}
|
244
|
-
break;
|
245
|
-
case '\n':
|
246
|
-
switch (b) {
|
247
|
-
case '{':
|
248
|
-
case '[':
|
249
|
-
case '(':
|
250
|
-
case '+':
|
251
|
-
case '-':
|
252
|
-
r.push(action(1));
|
253
|
-
break;
|
254
|
-
case ' ':
|
255
|
-
r.push(action(3));
|
256
|
-
break;
|
257
|
-
default:
|
258
|
-
if (isAlphanum(b)) {
|
259
|
-
r.push(action(1));
|
260
|
-
} else {
|
261
|
-
if (level == 1 && b != '\n') {
|
262
|
-
r.push(action(1));
|
263
|
-
} else {
|
264
|
-
r.push(action(2));
|
265
|
-
}
|
266
|
-
}
|
267
|
-
}
|
268
|
-
break;
|
269
|
-
default:
|
270
|
-
switch (b) {
|
271
|
-
case ' ':
|
272
|
-
if (isAlphanum(a)) {
|
273
|
-
r.push(action(1));
|
274
|
-
break;
|
275
|
-
}
|
276
|
-
r.push(action(3));
|
277
|
-
break;
|
278
|
-
case '\n':
|
279
|
-
if (level == 1 && a != '\n') {
|
280
|
-
r.push(action(1));
|
281
|
-
} else {
|
282
|
-
switch (a) {
|
283
|
-
case '}':
|
284
|
-
case ']':
|
285
|
-
case ')':
|
286
|
-
case '+':
|
287
|
-
case '-':
|
288
|
-
case '"':
|
289
|
-
case '\'':
|
290
|
-
if (level == 3) {
|
291
|
-
r.push(action(3));
|
292
|
-
} else {
|
293
|
-
r.push(action(1));
|
294
|
-
}
|
295
|
-
break;
|
296
|
-
default:
|
297
|
-
if (isAlphanum(a)) {
|
298
|
-
r.push(action(1));
|
299
|
-
} else {
|
300
|
-
r.push(action(3));
|
301
|
-
}
|
302
|
-
}
|
303
|
-
}
|
304
|
-
break;
|
305
|
-
default:
|
306
|
-
r.push(action(1));
|
307
|
-
break;
|
308
|
-
}
|
309
|
-
}
|
310
|
-
}
|
311
|
-
|
312
|
-
return r.join('');
|
313
|
-
}
|
314
|
-
|
315
|
-
return m(input);
|
316
|
-
}
|
data/jsdoc/plugins/strip.js
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
@overview Remove JsDoc comments from source code and save file.
|
3
|
-
@author Michael Mathews micmath@gmail.com
|
4
|
-
*/
|
5
|
-
|
6
|
-
function deploy_begin(context) {
|
7
|
-
context.src = context.d+"/src";
|
8
|
-
MakeDir(context.src);
|
9
|
-
}
|
10
|
-
|
11
|
-
function deploy_each(sourceFile, context) {
|
12
|
-
var name = sourceFile.fileName.replace(/(\.\.?)?[\/\\]/g, "_");
|
13
|
-
inform("Saving stripped source file to "+name);
|
14
|
-
|
15
|
-
var stripped = sourceFile.content.replace(/\/\*\*[\S\s]+?\*\//g, "");
|
16
|
-
SaveFile(context.src, name, stripped);
|
17
|
-
}
|
18
|
-
|
19
|
-
function deploy_finish(context) {
|
20
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
/* @override http://localhost:4020/static/sproutcore/-docs/data/default.css */
|
2
|
-
|
3
|
-
/* @group Core */
|
4
|
-
|
5
|
-
body.sc-doc {
|
6
|
-
background-color: white ;
|
7
|
-
padding: 20px;
|
8
|
-
}
|
9
|
-
|
10
|
-
.sc-doc {
|
11
|
-
font: 64.5% Helvetica, Arial, Verdana, sans-serif;
|
12
|
-
line-height: 1em ;
|
13
|
-
}
|
14
|
-
|
15
|
-
/* Set standard size on some things. */
|
16
|
-
.sc-doc p,
|
17
|
-
.sc-doc dd,
|
18
|
-
.sc-doc dt,
|
19
|
-
.sc-doc li,
|
20
|
-
.sc-doc table {
|
21
|
-
line-height: 1.3em;
|
22
|
-
font-size: 1.3em ;
|
23
|
-
}
|
24
|
-
|
25
|
-
.sc-doc h1 {
|
26
|
-
font-size: 3em;
|
27
|
-
margin: 0 0 1em 0;
|
28
|
-
text-transform: capitalize;
|
29
|
-
}
|
30
|
-
|
31
|
-
.sc-doc h2 {
|
32
|
-
padding: 0;
|
33
|
-
padding-bottom: 4px;
|
34
|
-
border-bottom: 1px #555 solid;
|
35
|
-
text-transform: capitalize;
|
36
|
-
margin: 1.5em 0 0;
|
37
|
-
font-size: 2.2em;
|
38
|
-
}
|
39
|
-
|
40
|
-
.sc-doc h3 {
|
41
|
-
font-size: 2em;
|
42
|
-
padding: 0;
|
43
|
-
margin: 3em 0 0 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
.sc-doc h4 {
|
47
|
-
font-weight: normal ;
|
48
|
-
font-size: 1.4em;
|
49
|
-
margin: 0.5em 0 0 0;
|
50
|
-
padding: 0;
|
51
|
-
}
|
52
|
-
|
53
|
-
.sc-doc h5 {
|
54
|
-
font-size: 1.3em;
|
55
|
-
padding: 0;
|
56
|
-
margin: 1.3em 0 0.5em 0;
|
57
|
-
}
|
58
|
-
|
59
|
-
.sc-doc p { margin: 0.5em 0; }
|
60
|
-
|
61
|
-
.sc-doc a {
|
62
|
-
text-decoration: none ;
|
63
|
-
}
|
64
|
-
|
65
|
-
.sc-doc label {
|
66
|
-
font-weight: bold ;
|
67
|
-
}
|
68
|
-
|
69
|
-
.sc-doc .sc-theme .ghost {
|
70
|
-
-moz-user-select: none;
|
71
|
-
-khtml-user-select: none;
|
72
|
-
user-select: none;
|
73
|
-
opacity: 0.45;
|
74
|
-
-moz-opacity: .45 ;
|
75
|
-
}
|
76
|
-
|
77
|
-
.sc-doc dt {
|
78
|
-
font-style: italic;
|
79
|
-
}
|
80
|
-
|
81
|
-
.sc-doc dd {
|
82
|
-
margin: 0 0 1em 1em;
|
83
|
-
}
|
84
|
-
|
85
|
-
/* @end */
|
86
|
-
|
87
|
-
/* @group Summary Table */
|
88
|
-
|
89
|
-
.sc-doc table.summary {
|
90
|
-
min-width: 450px;
|
91
|
-
border: 1px #999 solid;
|
92
|
-
border-bottom: none ;
|
93
|
-
border-spacing: 0;
|
94
|
-
margin-bottom: 2em;
|
95
|
-
}
|
96
|
-
|
97
|
-
.sc-doc table.summary td {
|
98
|
-
border-bottom: 1px #999 solid;
|
99
|
-
border-collapse: collapse;
|
100
|
-
padding: 0.5em;
|
101
|
-
text-align: left ;
|
102
|
-
}
|
103
|
-
|
104
|
-
.sc-doc table.summary .even td {
|
105
|
-
background-color: #eef;
|
106
|
-
}
|
107
|
-
|
108
|
-
.sc-doc table.summary td.label {
|
109
|
-
font-weight: bold ;
|
110
|
-
width: 100px;
|
111
|
-
text-align: right ;
|
112
|
-
padding-right: 4px;
|
113
|
-
}
|
114
|
-
|
115
|
-
.sc-doc table.summary td.value {
|
116
|
-
min-width: 300px;
|
117
|
-
width: 300px;
|
118
|
-
}
|
119
|
-
|
120
|
-
/* @end */
|
121
|
-
|
122
|
-
/* @group Field & Method Summary */
|
123
|
-
|
124
|
-
.sc-doc .summary li {
|
125
|
-
list-style-type: none ;
|
126
|
-
position: relative;
|
127
|
-
}
|
128
|
-
|
129
|
-
.sc-doc .summary li code {
|
130
|
-
font-size: 1.1em;
|
131
|
-
}
|
132
|
-
|
133
|
-
.sc-doc .summary li .description {
|
134
|
-
display: none ;
|
135
|
-
}
|
136
|
-
|
137
|
-
.sc-doc .summary li:hover .description {
|
138
|
-
display: block ;
|
139
|
-
font-size: 0.86em;
|
140
|
-
position: absolute ;
|
141
|
-
left: 80px;
|
142
|
-
bottom: 2em;
|
143
|
-
padding: 0.3em 1em ;
|
144
|
-
background-color: #fff898;
|
145
|
-
border: 1px solid #bbae2f;
|
146
|
-
-webkit-box-shadow: rgba(0,0,0,0.3) 0px 2px 5px;
|
147
|
-
color: #4b4000;
|
148
|
-
z-index: 100;
|
149
|
-
}
|
150
|
-
|
151
|
-
/* @end */
|
152
|
-
|
153
|
-
/* @group Detail */
|
154
|
-
|
155
|
-
.sc-doc .detail p.signature {
|
156
|
-
padding: 0;
|
157
|
-
margin: 1em 0;
|
158
|
-
font-family: Courier, mono;
|
159
|
-
}
|
160
|
-
|
161
|
-
.sc-doc .detail p.signature .type {
|
162
|
-
font-style: italic;
|
163
|
-
}
|
164
|
-
|
165
|
-
.sc-doc .detail p.signature .name {
|
166
|
-
font-weight: bold ;
|
167
|
-
}
|
168
|
-
|
169
|
-
/* @end */
|
170
|
-
|
171
|
-
.sc-doc .jsdoc_ctime {
|
172
|
-
border-top: 1px #ccc solid ;
|
173
|
-
padding: 4px 0;
|
174
|
-
margin-top: 20px;
|
175
|
-
margin-bottom: 0px;
|
176
|
-
font-size: 1.0em;
|
177
|
-
text-align: center ;
|
178
|
-
color: #888 ;
|
179
|
-
}
|
180
|
-
|
181
|
-
/* @group Description */
|
182
|
-
|
183
|
-
.sc-doc .description blockquote,
|
184
|
-
.sc-doc .description p.code {
|
185
|
-
padding: 10px ;
|
186
|
-
margin: 10px 20px;
|
187
|
-
background-color: #f5f5f5 ;
|
188
|
-
border: 1px #ccc solid ;
|
189
|
-
}
|
190
|
-
|
191
|
-
/* @end */
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
|
2
|
-
"http://www.w3.org/TR/html4/frameset.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
6
|
-
<title>JsDoc</title>
|
7
|
-
<meta name="generator" content="JsDoc Toolkit 1.0">
|
8
|
-
</head>
|
9
|
-
<frameset cols="200,*">
|
10
|
-
<frame name="menu" src="allclasses-frame.html">
|
11
|
-
<frame name="main" src="splash.html">
|
12
|
-
</frameset>
|
13
|
-
</html>
|