sproutcore 1.0.1035 → 1.0.1037

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,55 @@
1
+ {!
2
+ function keys(o) {
3
+ var keys = [];
4
+ for (var k in o) { keys.push(k); }
5
+ return keys;
6
+ }
7
+
8
+ function groupName(path) {
9
+ var parts = path.split('/') ;
10
+
11
+ var rootIndex = parts.indexOf('frameworks') ;
12
+ if (rootIndex < 0) rootIndex = parts.indexOf('clients') ;
13
+
14
+ if (rootIndex < 0) {
15
+ return parts[parts.length - 2] ;
16
+
17
+ } else {
18
+ return parts.slice(rootIndex+2, parts.length-1).join('/') ;
19
+ }
20
+ };
21
+
22
+ function getSymbols(thisClass) {
23
+ var ret = [thisClass.alias.toLowerCase()] ;
24
+ var len = thisClass.properties.length ;
25
+
26
+ while (--len>=0) {
27
+ ret.push(thisClass.properties[len].alias.toLowerCase()) ;
28
+ }
29
+
30
+ return ret.join(' ') ;
31
+ };
32
+
33
+ !}
34
+ { records: [
35
+ <for each="thisClass" in="data">
36
+ <if test="groupName(thisClass.srcFile) !== undefined">
37
+ { "type": "Doc",
38
+ "guid": "{+(thisClass.alias)+}",
39
+ <if test="!(thisClass.alias == 'SC')">
40
+ "title": "{+(thisClass.alias)+}",
41
+ </if>
42
+ <if test="(thisClass.alias == 'SC')">
43
+ "title": "SproutCore (SC)",
44
+ </if>
45
+ "url": "{+(thisClass.alias)+}.html",
46
+ <if test="!(thisClass.alias == 'SC')">
47
+ "group": "{+groupName(thisClass.srcFile)+}",
48
+ </if>
49
+ "symbols": "{+getSymbols(thisClass)+}",
50
+ "path": "{+thisClass.srcFile+}"
51
+ },
52
+ </if>
53
+ </for>
54
+ ]
55
+ }
@@ -0,0 +1,48 @@
1
+ {!
2
+ function keys(o) {
3
+ var keys = [];
4
+ for (var k in o) { keys.push(k); }
5
+ return keys;
6
+ }
7
+
8
+ !}
9
+
10
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
11
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
+ <head>
14
+ <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
15
+ <meta name="generator" content="JsDoc Toolkit" />
16
+ {! Link.base = ""; /* all generated links will be relative to this */ !}
17
+ <title>JsDoc Reference</title>
18
+
19
+ <style type="text/css">
20
+ {+include("static/default.css")+}
21
+ </style>
22
+ </head>
23
+
24
+ <body class="sc-doc">
25
+
26
+ <h1>SproutCore Reference Index</h1>
27
+
28
+ <p id="warning">WARNING: This is draft reference documentation generated automatically from the <a href="http://github.com/sproutit/sproutcore">SproutCore source</a>. It has not been fully vetted for accuracy or completeness. Expect to find bugs here and there. If you want to help make the docs better, please grab the source and make the docs better!</p>
29
+
30
+ <div id="index">
31
+
32
+ <for each="thisClass" in="data">
33
+ <div>
34
+ <h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
35
+ {+resolveLinks(summarize(thisClass.classDesc))+}
36
+ </div>
37
+ <hr />
38
+ </for>
39
+
40
+ </div>
41
+
42
+ <!-- ============================== footer ================================= -->
43
+ <div class="fineprint" style="clear:both">
44
+ <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
45
+ Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
46
+ </div>
47
+ </body>
48
+ </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>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sproutcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1035
4
+ version: 1.0.1037
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sprout Systems, Inc. Apple Inc. and contributors
@@ -236,14 +236,25 @@ files:
236
236
  - design/Technical Notes.graffle/QuickLook/Thumbnail.tiff
237
237
  - design/Technical Notes.graffle/data.plist
238
238
  - design/Technical Notes.graffle/image8.png
239
+ - doc_templates/jsdoc/allclasses.tmpl
240
+ - doc_templates/jsdoc/allfiles.tmpl
241
+ - doc_templates/jsdoc/class.tmpl
242
+ - doc_templates/jsdoc/index.tmpl
239
243
  - doc_templates/jsdoc/publish.js
240
244
  - doc_templates/jsdoc/static/default.css
241
245
  - doc_templates/jsdoc/static/header.html
242
246
  - doc_templates/jsdoc/static/index.html
247
+ - doc_templates/jsdoc/symbol.tmpl
248
+ - doc_templates/sproutcore/allclasses.tmpl
249
+ - doc_templates/sproutcore/allfiles.tmpl
250
+ - doc_templates/sproutcore/class.tmpl
251
+ - doc_templates/sproutcore/classes-json.tmpl
252
+ - doc_templates/sproutcore/index.tmpl
243
253
  - doc_templates/sproutcore/publish.js
244
254
  - doc_templates/sproutcore/static/default.css
245
255
  - doc_templates/sproutcore/static/header.html
246
256
  - doc_templates/sproutcore/static/index.html
257
+ - doc_templates/sproutcore/symbol.tmpl
247
258
  - frameworks/sproutcore/Buildfile
248
259
  - frameworks/sproutcore/HISTORY
249
260
  - frameworks/sproutcore/README