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,33 +0,0 @@
1
- /** @class */
2
- var Person = Class.create(
3
- /**
4
- @lends Person.prototype
5
- */
6
- {
7
- initialize: function(name) {
8
- this.name = name;
9
- },
10
- say: function(message) {
11
- return this.name + ': ' + message;
12
- }
13
- }
14
- );
15
-
16
- /** @lends Person.prototype */
17
- {
18
- /** like say but more musical */
19
- sing: function(song) {
20
- }
21
- }
22
-
23
- /** @lends Person */
24
- {
25
- getCount: function() {
26
- }
27
- }
28
-
29
- /** @lends Unknown.prototype */
30
- {
31
- notok: function() {
32
- }
33
- }
@@ -1,20 +0,0 @@
1
- /** @constructor */
2
- pack = function() {
3
- this.init = function(){}
4
- function config(){}
5
- }
6
-
7
- pack.build = function(task) {};
8
-
9
- /** @memberOf pack */
10
- pack.install = function() {}
11
-
12
- /** @memberOf pack */
13
- pack.install.overwrite = function() {}
14
-
15
- /** @memberOf pack */
16
- clean = function() {}
17
-
18
-
19
- /** @memberOf pack-config */
20
- install = function() {};
@@ -1,15 +0,0 @@
1
- /** @constructor */
2
- function Circle(){}
3
-
4
- /**
5
- @constructor
6
- @memberOf Circle.prototype
7
- */
8
- Tangent = function(){};
9
-
10
- /**
11
- @member Circle.prototype.Tangent.prototype
12
- */
13
- getDiameter = function(){};
14
-
15
-
@@ -1,19 +0,0 @@
1
- /**
2
- @name Response
3
- @class
4
- */
5
-
6
- Response.prototype = {
7
- /**
8
- @name Response#text
9
- @function
10
- @description
11
- Gets the body of the response as plain text
12
- @returns {String}
13
- Response as text
14
- */
15
-
16
- text: function() {
17
- return this.nativeResponse.responseText;
18
- }
19
- }
@@ -1,23 +0,0 @@
1
- /**
2
- @namespace This is the first namespace.
3
- */
4
- ns1 = {};
5
-
6
- /**
7
- This is the second namespace.
8
- @namespace
9
- */
10
- ns1.ns2 = {};
11
-
12
- /**
13
- This part of ns1.ns2
14
- @constructor
15
- */
16
- ns1.ns2.Function1 = function() {
17
- };
18
-
19
- ns1.staticFunction = function() {
20
- };
21
-
22
- /** A static field in a namespace. */
23
- ns1.ns2.staticField = 1;
@@ -1,13 +0,0 @@
1
- /**#nocode+*/
2
- /**
3
- @name star
4
- @function
5
- */
6
- function blahblah() {
7
-
8
- }
9
- /**#nocode-*/
10
-
11
- function yaddayadda() {
12
-
13
- }
@@ -1,20 +0,0 @@
1
- /** the options */
2
- opt = Opt.get(
3
- arguments,
4
- {
5
- d: "directory",
6
- c: "conf",
7
- "D[]": "define"
8
- }
9
- );
10
-
11
- /** configuration */
12
- opt.conf = {
13
- /** keep */
14
- keep: true,
15
- /** base */
16
- base: getBase(this, {p: properties})
17
- }
18
-
19
-
20
-
@@ -1,20 +0,0 @@
1
- /**
2
- * @overview This "library" contains a
3
- * lot of classes and functions.
4
- * @example
5
- <pre>
6
- var x (x < 1);
7
- alert("This 'is' \"code\"");
8
- </pre>
9
- * @name My Cool Library
10
- * @author Joe Smith jsmith@company.com
11
- * @version 0.1
12
- */
13
-
14
- /**
15
- * Gets the current foo
16
- * @param {String} fooId The unique identifier for the foo.
17
- * @return {Object} Returns the current foo.
18
- */
19
- function getFoo(fooID){
20
- }
@@ -1,37 +0,0 @@
1
- /**
2
- @constructor
3
- @param columns The number of columns.
4
- */
5
- function Layout(/**int*/columns){
6
- /**
7
- @param [id] The id of the element.
8
- @param elName The name of the element.
9
- */
10
- this.getElement = function(
11
- /** string */ elName,
12
- /** number|string */ id
13
- ) {
14
- };
15
-
16
- /**
17
- @constructor
18
- */
19
- this.Canvas = function(top, left, /**int*/width, height) {
20
- /** Is it initiated yet? */
21
- this.initiated = true;
22
- }
23
-
24
- this.rotate = function(/**nothing*/) {
25
- }
26
-
27
- /**
28
- @param x
29
- @param y
30
- @param {zoppler} z*/
31
- this.init = function(x, y, /**abbler*/z) {
32
- /** The xyz. */
33
- this.xyz = x+y+z;
34
- this.getXyz = function() {
35
- }
36
- }
37
- }
@@ -1,8 +0,0 @@
1
-
2
- /**
3
- * @param {Page[]} pages
4
- * @param {number} [id] Specifies the id, if applicable.
5
- * @param {String} [title = This is untitled.] Specifies the title.
6
- */
7
- function Document(pages, id, title){
8
- }
@@ -1,17 +0,0 @@
1
- /** @constructor */
2
- function Article() {
3
- }
4
-
5
- Article.prototype.init = function(title) {
6
- /** the instance title */
7
- this.title = title;
8
-
9
- /** the static counter */
10
- Article.counter = 1;
11
- }
12
-
13
- a = new Article();
14
- a.Init("my title");
15
-
16
- print(a.title);
17
- print(Article.counter);
@@ -1,9 +0,0 @@
1
- /** @constructor */
2
- function Word() {
3
- }
4
-
5
- Word.prototype.reverse = function() {
6
- }
7
-
8
- Word.prototype.reverse.utf8 = function() {
9
- }
@@ -1,13 +0,0 @@
1
- /** @constructor */
2
- function Article() {
3
- }
4
-
5
- Article.prototype = {
6
- /** instance get title */
7
- getTitle: function(){
8
- }
9
- }
10
-
11
- /** static get title */
12
- Article.getTitle = function(){
13
- }
@@ -1,24 +0,0 @@
1
- /** @constructor */
2
- function Article() {
3
- }
4
-
5
- Article.prototype = {
6
- /** @constructor */
7
- Title: function(title) {
8
- /** the value of the Title instance */
9
- this.title = title;
10
- },
11
-
12
- init: function(pages) {
13
- /** the value of the pages of the Article instance */
14
- this.pages = pages;
15
- }
16
- }
17
-
18
- f = new Article();
19
- f.init("one two three");
20
-
21
- t = new f.Title("my title");
22
-
23
- print(f.pages);
24
- print(t.title);
@@ -1,10 +0,0 @@
1
- /**@constructor*/
2
- function Foo() {
3
- /**
4
- @public
5
- @static
6
- @field
7
- */
8
- var bar = function(x) {
9
- }
10
- }
@@ -1,42 +0,0 @@
1
-
2
- /**
3
- * Builtin object.
4
- * @class
5
- * @name Array
6
- */
7
-
8
- /**#@+
9
- * Extension to builtin array.
10
- * @memberOf Array
11
- * @method
12
- */
13
-
14
- /**
15
- * @returns Boolen if some array members...
16
- */
17
- Array.prototype.some = function(){};
18
-
19
- /**
20
- * Change every element of an array.
21
- * @returns Filtered array copy.
22
- */
23
- Array.prototype.filter = function(){};
24
-
25
- /**#@-*/
26
-
27
-
28
- /**
29
- * A first in, first out data structure.
30
- * @constructor
31
- */
32
- Queue = function(){};
33
-
34
- /**#@+
35
- * Extension to Queue.
36
- * @memberOf Queue
37
- */
38
-
39
- rewind = function(){
40
- }
41
-
42
- // should close automatically here.
@@ -1,2 +0,0 @@
1
- startOver = function(){
2
- }
@@ -1,22 +0,0 @@
1
- // /**#=+
2
- // * {
3
- // * 'D': 'Date.prototype',
4
- // * '$N': 'Number'
5
- // * }
6
- // */
7
- // var D = Date.prototype,
8
- // $N = Number;
9
- //
10
- // D.locale = function(){
11
- // };
12
- //
13
- // /**
14
- // @return {string} The cardinal number string.
15
- // */
16
- // $N.nth = function(n){
17
- // };
18
- //
19
- // LOAD.file = function(){
20
- // }
21
- //
22
- // /**#=-*/
@@ -1,13 +0,0 @@
1
- /** the parent */
2
- var box = {};
3
-
4
- /** @namespace */
5
- box.holder = {}
6
-
7
- box.holder.foo = function() {
8
- /** the counter */
9
- this.counter = 1;
10
- }
11
-
12
- box.holder.foo();
13
- print(box.holder.counter);
@@ -1,23 +0,0 @@
1
- /**
2
- @class
3
- @inherits Bar#zop as #my_zop
4
- */
5
- function Foo() {
6
- /** this is a zip. */
7
- this.zip = function() {}
8
-
9
- /** from Bar */
10
- this.my_zop = new Bar().zop;
11
- }
12
-
13
- /**
14
- @class
15
- @borrows Foo#zip as this.my_zip
16
- */
17
- function Bar() {
18
- /** this is a zop. */
19
- this.zop = function() {}
20
-
21
- /** from Foo */
22
- this.my_zip = new Foo().zip;
23
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @param {Object} object
3
- * @return {string}
4
- */
5
- function valueOf(object) {}
6
-
7
- /**
8
- * @param {Object} object
9
- * @return {string}
10
- */
11
- function toString(object) {}
12
-
13
- /**
14
- * @param {Object} object
15
- * @return {string}
16
- */
17
- function toSource(object) {}
18
-
19
- /**
20
- * @param {Object} object
21
- * @return {string}
22
- */
23
- function constructor(object) {}