Skip to content

Commit b81ce1f

Browse files
committed
fix missing classes in ember 2.11.3
1 parent 6c68cdf commit b81ce1f

File tree

104 files changed

+57867
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+57867
-55
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
{
2+
"data": {
3+
"id": "ember-2.11.3-Container",
4+
"type": "class",
5+
"attributes": {
6+
"name": "Container",
7+
"shortname": "Container",
8+
"classitems": [],
9+
"plugins": [],
10+
"extensions": [],
11+
"plugin_for": [],
12+
"extension_for": [],
13+
"module": "ember",
14+
"file": "packages/container/lib/container.js",
15+
"line": 7,
16+
"description": "<html><head></head><body><p>A container used to instantiate and cache objects.</p>\n<p>Every <code>Container</code> must be associated with a <code>Registry</code>, which is referenced\nto determine the factory and options that should be used to instantiate\nobjects.</p>\n<p>The public API for <code>Container</code> is still in flux and should not be considered\nstable.</p>\n</body></html>",
17+
"access": "private",
18+
"tagname": "",
19+
"methods": [
20+
{
21+
"file": "packages/container/lib/container.js",
22+
"line": 68,
23+
"description": "<html><head></head><body><p>Given a fullName return a corresponding instance.</p>\n<p>The default behaviour is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.</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\n</pre></td>\n <td class=\"code\"><pre><span class=\"keyword\">let</span> registry = <span class=\"keyword\">new</span> Registry();\n<span class=\"keyword\">let</span> container = registry.container();\n\nregistry.register(<span class=\"string\">&apos;api:twitter&apos;</span>, Twitter);\n\n<span class=\"keyword\">let</span> twitter = container.lookup(<span class=\"string\">&apos;api:twitter&apos;</span>);\n\ntwitter <span class=\"keyword\">instanceof</span> Twitter; <span class=\"comment\">// =&gt; true</span>\n\n<span class=\"comment\">// by default the container will return singletons</span>\n<span class=\"keyword\">let</span> twitter2 = container.lookup(<span class=\"string\">&apos;api:twitter&apos;</span>);\ntwitter2 <span class=\"keyword\">instanceof</span> Twitter; <span class=\"comment\">// =&gt; true</span>\n\ntwitter === twitter2; <span class=\"comment\">//=&gt; true</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n<p>If singletons are not wanted, an optional flag can be provided at lookup.</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\n</pre></td>\n <td class=\"code\"><pre><span class=\"keyword\">let</span> <span class=\"attr\">registry</span> = new Registry();\n<span class=\"keyword\">let</span> <span class=\"attr\">container</span> = registry.container();\n\nregistry.register(&apos;api:twitter&apos;, Twitter);\n\n<span class=\"keyword\">let</span> <span class=\"attr\">twitter</span> = container.lookup(&apos;api:twitter&apos;, { singleton: <span class=\"literal\">false</span> });\n<span class=\"keyword\">let</span> <span class=\"attr\">twitter2</span> = container.lookup(&apos;api:twitter&apos;, { singleton: <span class=\"literal\">false</span> });\n\n<span class=\"attr\">twitter</span> === twitter2; //=&gt; <span class=\"literal\">false</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n</body></html>",
24+
"access": "private",
25+
"tagname": "",
26+
"itemtype": "method",
27+
"name": "lookup",
28+
"params": [
29+
{
30+
"name": "fullName",
31+
"description": "",
32+
"type": "String"
33+
},
34+
{
35+
"name": "options",
36+
"description": "",
37+
"type": "Object",
38+
"optional": true,
39+
"props": [
40+
{
41+
"name": "source",
42+
"description": "The fullname of the request source (used for local lookup)",
43+
"type": "String",
44+
"optional": true
45+
}
46+
]
47+
}
48+
],
49+
"return": {
50+
"description": "",
51+
"type": "Any"
52+
},
53+
"class": "Container"
54+
},
55+
{
56+
"file": "packages/container/lib/container.js",
57+
"line": 118,
58+
"description": "<html><head></head><body><p>Given a fullName, return the corresponding factory.</p>\n</body></html>",
59+
"access": "private",
60+
"tagname": "",
61+
"itemtype": "method",
62+
"name": "lookupFactory",
63+
"params": [
64+
{
65+
"name": "fullName",
66+
"description": "",
67+
"type": "String"
68+
},
69+
{
70+
"name": "options",
71+
"description": "",
72+
"type": "Object",
73+
"optional": true,
74+
"props": [
75+
{
76+
"name": "source",
77+
"description": "The fullname of the request source (used for local lookup)",
78+
"type": "String",
79+
"optional": true
80+
}
81+
]
82+
}
83+
],
84+
"return": {
85+
"description": "",
86+
"type": "Any"
87+
},
88+
"class": "Container"
89+
},
90+
{
91+
"file": "packages/container/lib/container.js",
92+
"line": 133,
93+
"description": "<html><head></head><body><p>A depth first traversal, destroying the container, its descendant containers and all\ntheir managed objects.</p>\n</body></html>",
94+
"access": "private",
95+
"tagname": "",
96+
"itemtype": "method",
97+
"name": "destroy",
98+
"class": "Container"
99+
},
100+
{
101+
"file": "packages/container/lib/container.js",
102+
"line": 150,
103+
"description": "<html><head></head><body><p>Clear either the entire cache or just the cache for a particular key.</p>\n</body></html>",
104+
"access": "private",
105+
"tagname": "",
106+
"itemtype": "method",
107+
"name": "reset",
108+
"params": [
109+
{
110+
"name": "fullName",
111+
"description": "optional key to reset; if missing, resets everything",
112+
"type": "String"
113+
}
114+
],
115+
"class": "Container"
116+
},
117+
{
118+
"file": "packages/container/lib/container.js",
119+
"line": 165,
120+
"description": "<html><head></head><body><p>Returns an object that can be used to provide an owner to a\nmanually created instance.</p>\n</body></html>",
121+
"access": "private",
122+
"tagname": "",
123+
"itemtype": "method",
124+
"name": "ownerInjection",
125+
"return": {
126+
"description": "",
127+
"type": "Object"
128+
},
129+
"class": "Container"
130+
}
131+
],
132+
"events": [],
133+
"properties": [
134+
{
135+
"file": "packages/container/lib/container.js",
136+
"line": 32,
137+
"access": "private",
138+
"tagname": "",
139+
"itemtype": "property",
140+
"name": "owner",
141+
"type": "Object",
142+
"class": "Container"
143+
},
144+
{
145+
"file": "packages/container/lib/container.js",
146+
"line": 39,
147+
"access": "private",
148+
"tagname": "",
149+
"itemtype": "property",
150+
"name": "registry",
151+
"type": "Registry",
152+
"since": "1.11.0",
153+
"class": "Container"
154+
},
155+
{
156+
"file": "packages/container/lib/container.js",
157+
"line": 47,
158+
"access": "private",
159+
"tagname": "",
160+
"itemtype": "property",
161+
"name": "cache",
162+
"type": "InheritingDict",
163+
"class": "Container"
164+
},
165+
{
166+
"file": "packages/container/lib/container.js",
167+
"line": 54,
168+
"access": "private",
169+
"tagname": "",
170+
"itemtype": "property",
171+
"name": "factoryCache",
172+
"type": "InheritingDict",
173+
"class": "Container"
174+
},
175+
{
176+
"file": "packages/container/lib/container.js",
177+
"line": 61,
178+
"access": "private",
179+
"tagname": "",
180+
"itemtype": "property",
181+
"name": "validationCache",
182+
"type": "InheritingDict",
183+
"class": "Container"
184+
}
185+
]
186+
},
187+
"relationships": {
188+
"parent-class": {
189+
"data": null
190+
},
191+
"descendants": {
192+
"data": []
193+
},
194+
"module": {
195+
"data": {
196+
"id": "ember-2.11.3-ember",
197+
"type": "module"
198+
}
199+
},
200+
"project-version": {
201+
"data": {
202+
"id": "ember-2.11.3",
203+
"type": "project-version"
204+
}
205+
}
206+
}
207+
}
208+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"data": {
3+
"id": "ember-2.11.3-ContainerProxyMixin",
4+
"type": "class",
5+
"attributes": {
6+
"name": "ContainerProxyMixin",
7+
"shortname": "ContainerProxyMixin",
8+
"classitems": [],
9+
"plugins": [],
10+
"extensions": [],
11+
"plugin_for": [],
12+
"extension_for": [
13+
"Ember.EngineInstance"
14+
],
15+
"module": "ember",
16+
"submodule": "ember-runtime",
17+
"namespace": "",
18+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
19+
"line": 10,
20+
"description": "<html><head></head><body><p>ContainerProxyMixin is used to provide public access to specific\ncontainer functionality.</p>\n</body></html>",
21+
"access": "private",
22+
"tagname": "",
23+
"methods": [
24+
{
25+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
26+
"line": 26,
27+
"description": "<html><head></head><body><p>Returns an object that can be used to provide an owner to a\nmanually created instance.</p>\n<p>Example:</p>\n<div class=\"highlight \">\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\n</pre></td>\n <td class=\"code\"><pre><span class=\"keyword\">let</span> owner = <span class=\"module-access\"><span class=\"module\"><span class=\"identifier\">Ember</span>.</span></span>get<span class=\"constructor\">Owner(<span class=\"params\">this</span>)</span>;\n\n<span class=\"module-access\"><span class=\"module\"><span class=\"identifier\">User</span>.</span></span>create(\n owner.owner<span class=\"constructor\">Injection()</span>,\n { username: &apos;rwjblue&apos; }\n)</pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </body></html>",
28+
"access": "public",
29+
"tagname": "",
30+
"itemtype": "method",
31+
"name": "ownerInjection",
32+
"return": {
33+
"description": "",
34+
"type": "Object"
35+
},
36+
"class": "ContainerProxyMixin",
37+
"module": "ember",
38+
"submodule": "ember-runtime"
39+
},
40+
{
41+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
42+
"line": 49,
43+
"description": "<html><head></head><body><p>Given a fullName return a corresponding instance.</p>\n<p>The default behaviour is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.</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\n</pre></td>\n <td class=\"code\"><pre><span class=\"keyword\">let</span> registry = <span class=\"keyword\">new</span> Registry();\n<span class=\"keyword\">let</span> container = registry.container();\n\nregistry.register(<span class=\"string\">&apos;api:twitter&apos;</span>, Twitter);\n\n<span class=\"keyword\">let</span> twitter = container.lookup(<span class=\"string\">&apos;api:twitter&apos;</span>);\n\ntwitter <span class=\"keyword\">instanceof</span> Twitter; <span class=\"comment\">// =&gt; true</span>\n\n<span class=\"comment\">// by default the container will return singletons</span>\n<span class=\"keyword\">let</span> twitter2 = container.lookup(<span class=\"string\">&apos;api:twitter&apos;</span>);\ntwitter2 <span class=\"keyword\">instanceof</span> Twitter; <span class=\"comment\">// =&gt; true</span>\n\ntwitter === twitter2; <span class=\"comment\">//=&gt; true</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n<p>If singletons are not wanted an optional flag can be provided at lookup.</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\n</pre></td>\n <td class=\"code\"><pre><span class=\"keyword\">let</span> <span class=\"attr\">registry</span> = new Registry();\n<span class=\"keyword\">let</span> <span class=\"attr\">container</span> = registry.container();\n\nregistry.register(&apos;api:twitter&apos;, Twitter);\n\n<span class=\"keyword\">let</span> <span class=\"attr\">twitter</span> = container.lookup(&apos;api:twitter&apos;, { singleton: <span class=\"literal\">false</span> });\n<span class=\"keyword\">let</span> <span class=\"attr\">twitter2</span> = container.lookup(&apos;api:twitter&apos;, { singleton: <span class=\"literal\">false</span> });\n\n<span class=\"attr\">twitter</span> === twitter2; //=&gt; <span class=\"literal\">false</span></pre></td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n \n</body></html>",
44+
"access": "public",
45+
"tagname": "",
46+
"itemtype": "method",
47+
"name": "lookup",
48+
"params": [
49+
{
50+
"name": "fullName",
51+
"description": "",
52+
"type": "String"
53+
},
54+
{
55+
"name": "options",
56+
"description": "",
57+
"type": "Object"
58+
}
59+
],
60+
"return": {
61+
"description": "",
62+
"type": "Any"
63+
},
64+
"class": "ContainerProxyMixin",
65+
"module": "ember",
66+
"submodule": "ember-runtime"
67+
},
68+
{
69+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
70+
"line": 97,
71+
"description": "<html><head></head><body><p>Given a fullName return the corresponding factory.</p>\n</body></html>",
72+
"access": "private",
73+
"tagname": "",
74+
"itemtype": "method",
75+
"name": "_lookupFactory",
76+
"params": [
77+
{
78+
"name": "fullName",
79+
"description": "",
80+
"type": "String"
81+
}
82+
],
83+
"return": {
84+
"description": "",
85+
"type": "Any"
86+
},
87+
"class": "ContainerProxyMixin",
88+
"module": "ember",
89+
"submodule": "ember-runtime"
90+
},
91+
{
92+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
93+
"line": 109,
94+
"description": "<html><head></head><body><p>Given a name and a source path, resolve the fullName</p>\n</body></html>",
95+
"access": "private",
96+
"tagname": "",
97+
"itemtype": "method",
98+
"name": "_resolveLocalLookupName",
99+
"params": [
100+
{
101+
"name": "fullName",
102+
"description": "",
103+
"type": "String"
104+
},
105+
{
106+
"name": "source",
107+
"description": "",
108+
"type": "String"
109+
}
110+
],
111+
"return": {
112+
"description": "",
113+
"type": "String"
114+
},
115+
"class": "ContainerProxyMixin",
116+
"module": "ember",
117+
"submodule": "ember-runtime"
118+
}
119+
],
120+
"events": [],
121+
"properties": [
122+
{
123+
"file": "packages/ember-runtime/lib/mixins/container_proxy.js",
124+
"line": 18,
125+
"description": "<html><head></head><body><p>The container stores state.</p>\n</body></html>",
126+
"access": "private",
127+
"tagname": "",
128+
"itemtype": "property",
129+
"name": "__container__",
130+
"type": "Ember.Container",
131+
"class": "ContainerProxyMixin",
132+
"module": "ember",
133+
"submodule": "ember-runtime"
134+
}
135+
]
136+
},
137+
"relationships": {
138+
"parent-class": {
139+
"data": null
140+
},
141+
"descendants": {
142+
"data": []
143+
},
144+
"module": {
145+
"data": {
146+
"id": "ember-2.11.3-ember",
147+
"type": "module"
148+
}
149+
},
150+
"project-version": {
151+
"data": {
152+
"id": "ember-2.11.3",
153+
"type": "project-version"
154+
}
155+
}
156+
}
157+
}
158+
}

0 commit comments

Comments
 (0)