Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing entries for Ember #18

Merged
merged 22 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1,131 changes: 1,131 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Application-9f21ac5cb4.json

Large diffs are not rendered by default.

1,375 changes: 1,375 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Array-882703a6de.json

Large diffs are not rendered by default.

5,644 changes: 5,644 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.ArrayController-3417c91b65.json

Large diffs are not rendered by default.

3,658 changes: 3,658 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.ArrayProxy-a54d5f8ef1.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,987 changes: 1,987 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Checkbox-20710785fb.json

Large diffs are not rendered by default.

2,287 changes: 2,287 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.CollectionView-2b515ea29c.json

Large diffs are not rendered by default.

2,034 changes: 2,034 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Component-aca27e9b17.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,074 changes: 2,074 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.ContainerView-73120018a6.json

Large diffs are not rendered by default.

1,560 changes: 1,560 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Controller-1df04bde5b.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,012 changes: 1,012 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.CoreView-e4babc7a6e.json

Large diffs are not rendered by default.

1,012 changes: 1,012 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.DefaultResolver-8384712a4a.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,006 changes: 1,006 additions & 0 deletions json-docs/ember/1.1.2/classes/ember-1.1.2-Ember.Enumerable-36b564b391.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"data": {
"id": "ember-1.1.2-Ember.Evented",
"type": "class",
"attributes": {
"name": "Ember.Evented",
"shortname": "Ember.Evented",
"classitems": [],
"plugins": [],
"extensions": [],
"plugin_for": [],
"extension_for": [
"Ember.CoreView"
],
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember",
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 6,
"description": "<html><head></head><body><p>This mixin allows for Ember objects to subscribe to and emit events.</p>\n<div class=\"highlight javascript\">\n <div class=\"ribbon\"></div>\n <div class=\"scroller\">\n <table class=\"CodeRay\">\n <tbody>\n <tr>\n <td class=\"line-numbers\"><pre>1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n</pre></td>\n <td class=\"code\"><pre>App.Person = Ember.Object.extend(Ember.Evented, {\n <span class=\"attr\">greet</span>: <span class=\"keyword\">function</span>(<span class=\"params\"></span>) {\n <span class=\"comment\">// ...</span>\n this.trigger(<span class=\"string\">&apos;greet&apos;</span>);\n }\n});\n\n<span class=\"keyword\">var</span> person = App.Person.create();\n\nperson.on(<span class=\"string\">&apos;greet&apos;</span>, <span class=\"keyword\">function</span>(<span class=\"params\"></span>) {\n <span class=\"built_in\">console</span>.<span class=\"built_in\">log</span>(<span class=\"string\">&apos;Our person has greeted&apos;</span>);\n});\n\nperson.greet();\n\n<span class=\"comment\">// outputs: &apos;Our person has greeted&apos;</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n<p>You can also chain multiple event subscriptions:</p>\n<div class=\"highlight javascript\">\n <div class=\"ribbon\"></div>\n <div class=\"scroller\">\n <table class=\"CodeRay\">\n <tbody>\n <tr>\n <td class=\"line-numbers\"><pre>1\n2\n3\n4\n5\n</pre></td>\n <td class=\"code\"><pre>person.on(<span class=\"string\">&apos;greet&apos;</span>, <span class=\"keyword\">function</span>(<span class=\"params\"></span>) {\n <span class=\"built_in\">console</span>.<span class=\"built_in\">log</span>(<span class=\"string\">&apos;Our person has greeted&apos;</span>);\n}).one(<span class=\"string\">&apos;greet&apos;</span>, <span class=\"keyword\">function</span>(<span class=\"params\"></span>) {\n <span class=\"built_in\">console</span>.<span class=\"built_in\">log</span>(<span class=\"string\">&apos;Offer one-time special&apos;</span>);\n}).off(<span class=\"string\">&apos;event&apos;</span>, this, forgetThis);</pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n</body></html>",
"methods": [
{
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 43,
"description": "<html><head></head><body><p>Subscribes to a named event with given function.</p>\n<div class=\"highlight javascript\">\n <div class=\"ribbon\"></div>\n <div class=\"scroller\">\n <table class=\"CodeRay\">\n <tbody>\n <tr>\n <td class=\"line-numbers\"><pre>1\n2\n3\n</pre></td>\n <td class=\"code\"><pre>person.on(<span class=\"string\">&apos;didLoad&apos;</span>, <span class=\"keyword\">function</span><span class=\"params\">()</span> {\n <span class=\"comment\">// fired once the person has loaded</span>\n});</pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n<p>An optional target can be passed in as the 2nd argument that will\nbe set as the &quot;this&quot; for the callback. This is a good way to give your\nfunction access to the object triggering the event. When the target\nparameter is used the callback becomes the third argument.</p>\n</body></html>",
"itemtype": "method",
"name": "on",
"params": [
{
"name": "name",
"description": "The name of the event",
"type": "String"
},
{
"name": "target",
"description": "The \"this\" binding for the callback",
"type": "Object",
"optional": true
},
{
"name": "method",
"description": "The callback to execute",
"type": "Function"
}
],
"return": {
"description": "this"
},
"class": "Ember.Evented",
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember"
},
{
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 68,
"description": "<html><head></head><body><p>Subscribes a function to a named event and then cancels the subscription\nafter the first time the event is triggered. It is good to use <code>one</code> when\nyou only care about the first time an event has taken place.</p>\n<p>This function takes an optional 2nd argument that will become the &quot;this&quot;\nvalue for the callback. If this argument is passed then the 3rd argument\nbecomes the function.</p>\n</body></html>",
"itemtype": "method",
"name": "one",
"params": [
{
"name": "name",
"description": "The name of the event",
"type": "String"
},
{
"name": "target",
"description": "The \"this\" binding for the callback",
"type": "Object",
"optional": true
},
{
"name": "method",
"description": "The callback to execute",
"type": "Function"
}
],
"return": {
"description": "this"
},
"class": "Ember.Evented",
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember"
},
{
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 93,
"description": "<html><head></head><body><p>Triggers a named event for the object. Any additional arguments\nwill be passed as parameters to the functions that are subscribed to the\nevent.</p>\n<div class=\"highlight javascript\">\n <div class=\"ribbon\"></div>\n <div class=\"scroller\">\n <table class=\"CodeRay\">\n <tbody>\n <tr>\n <td class=\"line-numbers\"><pre>1\n2\n3\n4\n5\n6\n7\n</pre></td>\n <td class=\"code\"><pre>person.on(<span class=\"string\">&apos;didEat&apos;</span>, <span class=\"keyword\">function</span>(<span class=\"params\">food</span>) {\n <span class=\"built_in\">console</span>.<span class=\"built_in\">log</span>(<span class=\"string\">&apos;person ate some &apos;</span> + food);\n});\n\nperson.trigger(<span class=\"string\">&apos;didEat&apos;</span>, <span class=\"string\">&apos;broccoli&apos;</span>);\n\n<span class=\"comment\">// outputs: person ate some broccoli</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n</body></html>",
"itemtype": "method",
"name": "trigger",
"params": [
{
"name": "name",
"description": "The name of the event",
"type": "String"
},
{
"name": "args",
"description": "Optional arguments to pass on",
"type": "Object..."
}
],
"class": "Ember.Evented",
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember"
},
{
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 119,
"description": "<html><head></head><body><p>Cancels subscription for given name, target, and method.</p>\n</body></html>",
"itemtype": "method",
"name": "off",
"params": [
{
"name": "name",
"description": "The name of the event",
"type": "String"
},
{
"name": "target",
"description": "The target of the subscription",
"type": "Object"
},
{
"name": "method",
"description": "The function of the subscription",
"type": "Function"
}
],
"return": {
"description": "this"
},
"class": "Ember.Evented",
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember"
},
{
"file": "../packages/ember-runtime/lib/mixins/evented.js",
"line": 133,
"description": "<html><head></head><body><p>Checks to see if object has any subscriptions for named event.</p>\n</body></html>",
"itemtype": "method",
"name": "has",
"params": [
{
"name": "name",
"description": "The name of the event",
"type": "String"
}
],
"return": {
"description": "does the object have a subscription for event",
"type": "Boolean"
},
"class": "Ember.Evented",
"module": "ember",
"submodule": "ember-runtime",
"namespace": "Ember"
}
],
"events": [],
"properties": []
},
"relationships": {
"parent-class": {
"data": null
},
"descendants": {
"data": []
},
"module": {
"data": {
"id": "ember-1.1.2-ember",
"type": "module"
}
},
"project-version": {
"data": {
"id": "ember-1.1.2",
"type": "project-version"
}
}
}
}
}
Loading