ember-cli 4.0.0 → 4.1.0-beta.1

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 (107) hide show
  1. package/.github/workflows/ci.yml +4 -4
  2. package/CHANGELOG.md +17 -2
  3. package/blueprints/app/files/package.json +2 -2
  4. package/docs/build/data.json +3 -3
  5. package/lib/models/host-info-cache.js +3 -5
  6. package/lib/models/per-bundle-addon-cache/index.js +2 -3
  7. package/lib/utilities/get-lang-arg.js +45 -45
  8. package/package.json +25 -25
  9. package/.github/ISSUE_TEMPLATE.md +0 -12
  10. package/.github/dependabot.yml +0 -15
  11. package/.github/workflows/coverage.yml +0 -31
  12. package/docs/analytics.md +0 -44
  13. package/docs/architecture.md +0 -316
  14. package/docs/assets/architecture/Ember-CLI architecture.png +0 -0
  15. package/docs/assets/architecture/Ember-CLI architecture.xml +0 -1
  16. package/docs/assets/architecture/README.md +0 -5
  17. package/docs/brocfile-transition.md +0 -46
  18. package/docs/build/api.js +0 -44
  19. package/docs/build/assets/css/external-small.png +0 -0
  20. package/docs/build/assets/css/logo.png +0 -0
  21. package/docs/build/assets/css/main.css +0 -555
  22. package/docs/build/assets/favicon.ico +0 -0
  23. package/docs/build/assets/img/spinner.gif +0 -0
  24. package/docs/build/assets/index.html +0 -10
  25. package/docs/build/assets/js/api-filter.js +0 -56
  26. package/docs/build/assets/js/api-list.js +0 -255
  27. package/docs/build/assets/js/api-search.js +0 -98
  28. package/docs/build/assets/js/apidocs.js +0 -376
  29. package/docs/build/assets/js/yui-prettify.js +0 -17
  30. package/docs/build/assets/vendor/prettify/CHANGES.html +0 -130
  31. package/docs/build/assets/vendor/prettify/COPYING +0 -202
  32. package/docs/build/assets/vendor/prettify/README.html +0 -203
  33. package/docs/build/assets/vendor/prettify/prettify-min.css +0 -1
  34. package/docs/build/assets/vendor/prettify/prettify-min.js +0 -1
  35. package/docs/build/classes/Addon.html +0 -4318
  36. package/docs/build/classes/AmdTransformAddon.html +0 -202
  37. package/docs/build/classes/Blueprint.html +0 -4796
  38. package/docs/build/classes/Builder.html +0 -611
  39. package/docs/build/classes/CLI.html +0 -810
  40. package/docs/build/classes/Command.html +0 -1655
  41. package/docs/build/classes/DefaultPackager.html +0 -202
  42. package/docs/build/classes/EmberAddon.html +0 -2207
  43. package/docs/build/classes/EmberApp.html +0 -2225
  44. package/docs/build/classes/HardwareInfo.html +0 -620
  45. package/docs/build/classes/HistorySupportAddon.html +0 -203
  46. package/docs/build/classes/Instrumentation.html +0 -695
  47. package/docs/build/classes/NodeModulesList.html +0 -460
  48. package/docs/build/classes/NpmTask.html +0 -333
  49. package/docs/build/classes/PackageInfo.html +0 -1390
  50. package/docs/build/classes/PackageInfoCache.html +0 -963
  51. package/docs/build/classes/PerBundleAddonCache {.html +0 -1010
  52. package/docs/build/classes/Project.html +0 -2083
  53. package/docs/build/classes/ServeFilesAddon.html +0 -260
  54. package/docs/build/classes/TestsServerAddon.html +0 -203
  55. package/docs/build/classes/WatcherAddon.html +0 -204
  56. package/docs/build/classes/WindowsSymlinkChecker.html +0 -1505
  57. package/docs/build/files/lib_broccoli_default-packager.js.html +0 -1426
  58. package/docs/build/files/lib_broccoli_ember-addon.js.html +0 -159
  59. package/docs/build/files/lib_broccoli_ember-app.js.html +0 -1913
  60. package/docs/build/files/lib_cli_cli.js.html +0 -417
  61. package/docs/build/files/lib_models_addon-info.js.html +0 -112
  62. package/docs/build/files/lib_models_addon.js.html +0 -1866
  63. package/docs/build/files/lib_models_blueprint.js.html +0 -1678
  64. package/docs/build/files/lib_models_builder.js.html +0 -417
  65. package/docs/build/files/lib_models_command.js.html +0 -804
  66. package/docs/build/files/lib_models_hardware-info.js.html +0 -479
  67. package/docs/build/files/lib_models_host-info-cache.js.html +0 -428
  68. package/docs/build/files/lib_models_installation-checker.js.html +0 -181
  69. package/docs/build/files/lib_models_instantiate-addons.js.html +0 -191
  70. package/docs/build/files/lib_models_instrumentation.js.html +0 -433
  71. package/docs/build/files/lib_models_package-info-cache_index.js.html +0 -793
  72. package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +0 -208
  73. package/docs/build/files/lib_models_package-info-cache_package-info.js.html +0 -661
  74. package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +0 -252
  75. package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +0 -485
  76. package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +0 -108
  77. package/docs/build/files/lib_models_project.js.html +0 -913
  78. package/docs/build/files/lib_models_task.js.html +0 -117
  79. package/docs/build/files/lib_tasks_build-watch.js.html +0 -157
  80. package/docs/build/files/lib_tasks_npm-task.js.html +0 -463
  81. package/docs/build/files/lib_tasks_serve.js.html +0 -207
  82. package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +0 -127
  83. package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +0 -158
  84. package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +0 -181
  85. package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +0 -171
  86. package/docs/build/files/lib_tasks_test-server.js.html +0 -167
  87. package/docs/build/files/lib_tasks_transforms_amd_index.js.html +0 -143
  88. package/docs/build/files/lib_utilities_ember-app-utils.js.html +0 -292
  89. package/docs/build/files/lib_utilities_insert-into-file.js.html +0 -219
  90. package/docs/build/files/lib_utilities_is-lazy-engine.js.html +0 -125
  91. package/docs/build/files/lib_utilities_is-yarn-project.js.html +0 -120
  92. package/docs/build/files/lib_utilities_valid-project-name.js.html +0 -142
  93. package/docs/build/files/lib_utilities_will-interrupt-process.js.html +0 -290
  94. package/docs/build/files/lib_utilities_windows-admin.js.html +0 -230
  95. package/docs/build/index.html +0 -125
  96. package/docs/build/modules/ember-cli.html +0 -152
  97. package/docs/build/modules/is-lazy-engine.html +0 -106
  98. package/docs/build-concurrency.md +0 -15
  99. package/docs/build-pipeline-debugging.md +0 -33
  100. package/docs/code-coverage.md +0 -14
  101. package/docs/error-propagation.md +0 -136
  102. package/docs/experiments.md +0 -53
  103. package/docs/node-support.md +0 -43
  104. package/docs/perf-guide.md +0 -250
  105. package/docs/project_version_preprocessor.js +0 -8
  106. package/docs/sourcemaps.md +0 -60
  107. package/docs/yuidoc.json +0 -13
@@ -1,2207 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>EmberAddon - ember-cli</title>
6
- <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
7
- <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
8
- <script src="https://cdnjs.cloudflare.com/ajax/libs/yui/3.18.0/yui/yui-min.js"></script>
9
- </head>
10
- <body class="yui3-skin-sam">
11
-
12
- <div id="doc">
13
- <div class="yui3-g">
14
- <div id="sidebar" class="yui3-u">
15
- <div class="logo">
16
- <a href="../index.html">
17
- <img src="https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png">
18
- </a>
19
- </div>
20
-
21
- <div id="modules" class="sidebox">
22
- <div class="hd">
23
- <h2 class="no-toc">Modules</h2>
24
- </div>
25
- <div class="bd">
26
- <ul>
27
- <li><a href="../modules/ember-cli.html">ember-cli</a>
28
- </li>
29
- <li><a href="../modules/is-lazy-engine.html">is-lazy-engine</a>
30
- </li>
31
- </ul>
32
- </div>
33
- </div>
34
-
35
- <div id="classes" class="sidebox">
36
- <div class="hd">
37
- <h2 class="no-toc">Classes</h2>
38
- </div>
39
- <div class="bd">
40
- <ul>
41
- <li><a href="../classes/Addon.html">Addon</a></li>
42
- <li><a href="../classes/AmdTransformAddon.html">AmdTransformAddon</a></li>
43
- <li><a href="../classes/Blueprint.html">Blueprint</a></li>
44
- <li><a href="../classes/Builder.html">Builder</a></li>
45
- <li><a href="../classes/CLI.html">CLI</a></li>
46
- <li><a href="../classes/Command.html">Command</a></li>
47
- <li><a href="../classes/DefaultPackager.html">DefaultPackager</a></li>
48
- <li><a href="../classes/EmberAddon.html">EmberAddon</a></li>
49
- <li><a href="../classes/EmberApp.html">EmberApp</a></li>
50
- <li><a href="../classes/HardwareInfo.html">HardwareInfo</a></li>
51
- <li><a href="../classes/HistorySupportAddon.html">HistorySupportAddon</a></li>
52
- <li><a href="../classes/Instrumentation.html">Instrumentation</a></li>
53
- <li><a href="../classes/NodeModulesList.html">NodeModulesList</a></li>
54
- <li><a href="../classes/NpmTask.html">NpmTask</a></li>
55
- <li><a href="../classes/PackageInfo.html">PackageInfo</a></li>
56
- <li><a href="../classes/PackageInfoCache.html">PackageInfoCache</a></li>
57
- <li><a href="../classes/PerBundleAddonCache {.html">PerBundleAddonCache {</a></li>
58
- <li><a href="../classes/Project.html">Project</a></li>
59
- <li><a href="../classes/ServeFilesAddon.html">ServeFilesAddon</a></li>
60
- <li><a href="../classes/TestsServerAddon.html">TestsServerAddon</a></li>
61
- <li><a href="../classes/WatcherAddon.html">WatcherAddon</a></li>
62
- <li><a href="../classes/WindowsSymlinkChecker.html">WindowsSymlinkChecker</a></li>
63
- </ul>
64
- </div>
65
- </div>
66
-
67
-
68
- <div id="sections" class="sidebox">
69
- <div class="hd">
70
- <h2 class="no-toc">EmberAddon</h2>
71
- </div>
72
- <div class="bd">
73
-
74
-
75
- <div><a href="#constructor-summary">Constructor Summary</a></div>
76
-
77
-
78
- <div><a href="#method-summary">Method Summary</a></div>
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- <div><a href="#public-constructors">Public Constructors</a></div>
87
- <ul>
88
- <li><a href="#method_EmberAddon">EmberAddon</a></li>
89
- </ul>
90
-
91
-
92
-
93
-
94
-
95
-
96
- <div><a href="#public-methods">Public Methods</a></div>
97
- <ul>
98
- <li><a href="#method_dependencies">dependencies</a></li>
99
- <li><a href="#method_import">import</a></li>
100
- <li><a href="#method_toTree">toTree</a></li>
101
- </ul>
102
-
103
-
104
- <div><a href="#private-methods">Private Methods</a></div>
105
- <ul>
106
- <li><a href="#method__addonDisabledByExclude">_addonDisabledByExclude</a></li>
107
- <li><a href="#method__addonDisabledByInclude">_addonDisabledByInclude</a></li>
108
- <li><a href="#method__addonEnabled">_addonEnabled</a></li>
109
- <li><a href="#method__addonInstalled">_addonInstalled</a></li>
110
- <li><a href="#method__checkEmberCliBabel">_checkEmberCliBabel</a></li>
111
- <li><a href="#method__concatFiles">_concatFiles</a></li>
112
- <li><a href="#method__getAssetPath">_getAssetPath</a></li>
113
- <li><a href="#method__import">_import</a></li>
114
- <li><a href="#method__importAddonTransforms">_importAddonTransforms</a></li>
115
- <li><a href="#method__initOptions">_initOptions</a></li>
116
- <li><a href="#method__initProject">_initProject</a></li>
117
- <li><a href="#method__initTestsAndHinting">_initTestsAndHinting</a></li>
118
- <li><a href="#method__initVendorFiles">_initVendorFiles</a></li>
119
- <li><a href="#method__notifyAddonIncluded">_notifyAddonIncluded</a></li>
120
- <li><a href="#method__podTemplatePatterns">_podTemplatePatterns</a></li>
121
- <li><a href="#method__resolveLocal">_resolveLocal</a></li>
122
- <li><a href="#method_addonLintTree">addonLintTree</a></li>
123
- <li><a href="#method_addonPostprocessTree">addonPostprocessTree</a></li>
124
- <li><a href="#method_addonPreprocessTree">addonPreprocessTree</a></li>
125
- <li><a href="#method_addonTreesFor">addonTreesFor</a></li>
126
- <li><a href="#method_getLintTests">getLintTests</a></li>
127
- <li><a href="#method_initializeAddons">initializeAddons</a></li>
128
- <li><a href="#method_populateLegacyFiles">populateLegacyFiles</a></li>
129
- <li><a href="#method_shouldIncludeAddon">shouldIncludeAddon</a></li>
130
- <li><a href="#method_toArray">toArray</a></li>
131
- </ul>
132
- </div>
133
- </div>
134
-
135
-
136
-
137
- <div class="version-info">
138
- Version: 4.0.0-release-b4cbb1029f
139
- </div>
140
-
141
- </div>
142
-
143
- <div id="main" class="yui3-u">
144
- <div class="content"><div class="title">
145
- <span class="source-link"><a href="../files/lib_broccoli_ember-addon.js.html#l13"><code>lib&#x2F;broccoli&#x2F;ember-addon.js:13</code></a></span>
146
- <h1 class="class-name">EmberAddon</h1>
147
- </div>
148
-
149
-
150
-
151
- <div class="class-extends">
152
- <h4>Extends:</h4>
153
- <div><a href="../classes/EmberApp.html" class="crosslink">EmberApp</a> → EmberAddon</div>
154
- </div>
155
-
156
- <div class="class-description"><p>EmberAddon is used during addon development.</p>
157
- </div>
158
-
159
-
160
-
161
-
162
- <h2 id="constructor-summary">Constructor Summary</h2>
163
-
164
- <table class="summary">
165
- <thead>
166
- <tr>
167
- <th colspan="2">Public Constructors</th>
168
- </tr>
169
- </thead>
170
- <tbody>
171
- <tr>
172
- <td>
173
- public
174
-
175
-
176
- </td>
177
- <td>
178
- <div class="method-name ">
179
- <a href="#method_EmberAddon">EmberAddon</a>([defaults], [options={}])
180
- </div>
181
- <div class="short-description">
182
- <p>EmberAddon is used during addon development.</p>
183
- </div>
184
- </td>
185
- </tr>
186
- </tbody>
187
- </table>
188
-
189
-
190
-
191
-
192
-
193
-
194
- <h2 id="method-summary">Method Summary</h2>
195
-
196
- <table class="summary">
197
- <thead>
198
- <tr>
199
- <th colspan="2">Public Methods</th>
200
- </tr>
201
- </thead>
202
- <tbody>
203
- <tr>
204
- <td>
205
- public
206
-
207
-
208
- </td>
209
- <td>
210
- <div class="method-name ">
211
- <a href="#method_dependencies">dependencies</a>( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a>
212
- </div>
213
- <div class="short-description">
214
-
215
- </div>
216
- </td>
217
- </tr>
218
- <tr>
219
- <td>
220
- public
221
-
222
-
223
- </td>
224
- <td>
225
- <div class="method-name ">
226
- <a href="#method_import">import</a>(asset, [options])
227
- </div>
228
- <div class="short-description">
229
-
230
- </div>
231
- </td>
232
- </tr>
233
- <tr>
234
- <td>
235
- public
236
-
237
-
238
- </td>
239
- <td>
240
- <div class="method-name ">
241
- <a href="#method_toTree">toTree</a>([additionalTrees]): Tree
242
- </div>
243
- <div class="short-description">
244
-
245
- </div>
246
- </td>
247
- </tr>
248
- </tbody>
249
- </table>
250
-
251
-
252
- <table class="summary">
253
- <thead>
254
- <tr>
255
- <th colspan="2">Private Methods</th>
256
- </tr>
257
- </thead>
258
- <tbody>
259
- <tr>
260
- <td>
261
- private
262
-
263
-
264
- </td>
265
- <td>
266
- <div class="method-name ">
267
- <a href="#method__addonDisabledByExclude">_addonDisabledByExclude</a>(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
268
- </div>
269
- <div class="short-description">
270
-
271
- </div>
272
- </td>
273
- </tr>
274
- <tr>
275
- <td>
276
- private
277
-
278
-
279
- </td>
280
- <td>
281
- <div class="method-name ">
282
- <a href="#method__addonDisabledByInclude">_addonDisabledByInclude</a>(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
283
- </div>
284
- <div class="short-description">
285
-
286
- </div>
287
- </td>
288
- </tr>
289
- <tr>
290
- <td>
291
- private
292
-
293
-
294
- </td>
295
- <td>
296
- <div class="method-name ">
297
- <a href="#method__addonEnabled">_addonEnabled</a>(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
298
- </div>
299
- <div class="short-description">
300
-
301
- </div>
302
- </td>
303
- </tr>
304
- <tr>
305
- <td>
306
- private
307
-
308
-
309
- </td>
310
- <td>
311
- <div class="method-name ">
312
- <a href="#method__addonInstalled">_addonInstalled</a>(addonName): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
313
- </div>
314
- <div class="short-description">
315
-
316
- </div>
317
- </td>
318
- </tr>
319
- <tr>
320
- <td>
321
- private
322
-
323
-
324
- </td>
325
- <td>
326
- <div class="method-name ">
327
- <a href="#method__checkEmberCliBabel">_checkEmberCliBabel</a>(addons): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
328
- </div>
329
- <div class="short-description">
330
-
331
- </div>
332
- </td>
333
- </tr>
334
- <tr>
335
- <td>
336
- private
337
-
338
-
339
- </td>
340
- <td>
341
- <div class="method-name ">
342
- <a href="#method__concatFiles">_concatFiles</a>(tree, options):
343
- </div>
344
- <div class="short-description">
345
-
346
- </div>
347
- </td>
348
- </tr>
349
- <tr>
350
- <td>
351
- private
352
-
353
-
354
- </td>
355
- <td>
356
- <div class="method-name ">
357
- <a href="#method__getAssetPath">_getAssetPath</a>(asset): (String | Undefined)
358
- </div>
359
- <div class="short-description">
360
-
361
- </div>
362
- </td>
363
- </tr>
364
- <tr>
365
- <td>
366
- private
367
-
368
-
369
- </td>
370
- <td>
371
- <div class="method-name ">
372
- <a href="#method__import">_import</a>(assetPath, options, directory, subdirectory, extension)
373
- </div>
374
- <div class="short-description">
375
-
376
- </div>
377
- </td>
378
- </tr>
379
- <tr>
380
- <td>
381
- private
382
-
383
-
384
- </td>
385
- <td>
386
- <div class="method-name ">
387
- <a href="#method__importAddonTransforms">_importAddonTransforms</a>( )
388
- </div>
389
- <div class="short-description">
390
-
391
- </div>
392
- </td>
393
- </tr>
394
- <tr>
395
- <td>
396
- private
397
-
398
-
399
- </td>
400
- <td>
401
- <div class="method-name ">
402
- <a href="#method__initOptions">_initOptions</a>(options)
403
- </div>
404
- <div class="short-description">
405
-
406
- </div>
407
- </td>
408
- </tr>
409
- <tr>
410
- <td>
411
- private
412
-
413
-
414
- </td>
415
- <td>
416
- <div class="method-name ">
417
- <a href="#method__initProject">_initProject</a>(options)
418
- </div>
419
- <div class="short-description">
420
-
421
- </div>
422
- </td>
423
- </tr>
424
- <tr>
425
- <td>
426
- private
427
-
428
-
429
- </td>
430
- <td>
431
- <div class="method-name ">
432
- <a href="#method__initTestsAndHinting">_initTestsAndHinting</a>(options)
433
- </div>
434
- <div class="short-description">
435
-
436
- </div>
437
- </td>
438
- </tr>
439
- <tr>
440
- <td>
441
- private
442
-
443
-
444
- </td>
445
- <td>
446
- <div class="method-name ">
447
- <a href="#method__initVendorFiles">_initVendorFiles</a>( )
448
- </div>
449
- <div class="short-description">
450
-
451
- </div>
452
- </td>
453
- </tr>
454
- <tr>
455
- <td>
456
- private
457
-
458
-
459
- </td>
460
- <td>
461
- <div class="method-name ">
462
- <a href="#method__notifyAddonIncluded">_notifyAddonIncluded</a>( )
463
- </div>
464
- <div class="short-description">
465
-
466
- </div>
467
- </td>
468
- </tr>
469
- <tr>
470
- <td>
471
- private
472
-
473
-
474
- </td>
475
- <td>
476
- <div class="method-name ">
477
- <a href="#method__podTemplatePatterns">_podTemplatePatterns</a>( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
478
- </div>
479
- <div class="short-description">
480
-
481
- </div>
482
- </td>
483
- </tr>
484
- <tr>
485
- <td>
486
- private
487
-
488
-
489
- </td>
490
- <td>
491
- <div class="method-name ">
492
- <a href="#method__resolveLocal">_resolveLocal</a>( )
493
- </div>
494
- <div class="short-description">
495
-
496
- </div>
497
- </td>
498
- </tr>
499
- <tr>
500
- <td>
501
- private
502
-
503
-
504
- </td>
505
- <td>
506
- <div class="method-name ">
507
- <a href="#method_addonLintTree">addonLintTree</a>(type, tree): Tree
508
- </div>
509
- <div class="short-description">
510
-
511
- </div>
512
- </td>
513
- </tr>
514
- <tr>
515
- <td>
516
- private
517
-
518
-
519
- </td>
520
- <td>
521
- <div class="method-name ">
522
- <a href="#method_addonPostprocessTree">addonPostprocessTree</a>(type, tree): Tree
523
- </div>
524
- <div class="short-description">
525
-
526
- </div>
527
- </td>
528
- </tr>
529
- <tr>
530
- <td>
531
- private
532
-
533
-
534
- </td>
535
- <td>
536
- <div class="method-name ">
537
- <a href="#method_addonPreprocessTree">addonPreprocessTree</a>(type, tree): Tree
538
- </div>
539
- <div class="short-description">
540
-
541
- </div>
542
- </td>
543
- </tr>
544
- <tr>
545
- <td>
546
- private
547
-
548
-
549
- </td>
550
- <td>
551
- <div class="method-name ">
552
- <a href="#method_addonTreesFor">addonTreesFor</a>(type): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
553
- </div>
554
- <div class="short-description">
555
-
556
- </div>
557
- </td>
558
- </tr>
559
- <tr>
560
- <td>
561
- private
562
-
563
-
564
- </td>
565
- <td>
566
- <div class="method-name ">
567
- <a href="#method_getLintTests">getLintTests</a>( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
568
- </div>
569
- <div class="short-description">
570
-
571
- </div>
572
- </td>
573
- </tr>
574
- <tr>
575
- <td>
576
- private
577
-
578
-
579
- </td>
580
- <td>
581
- <div class="method-name ">
582
- <a href="#method_initializeAddons">initializeAddons</a>( )
583
- </div>
584
- <div class="short-description">
585
-
586
- </div>
587
- </td>
588
- </tr>
589
- <tr>
590
- <td>
591
- private
592
-
593
-
594
- </td>
595
- <td>
596
- <div class="method-name ">
597
- <a href="#method_populateLegacyFiles">populateLegacyFiles</a>( )
598
- </div>
599
- <div class="short-description">
600
-
601
- </div>
602
- </td>
603
- </tr>
604
- <tr>
605
- <td>
606
- private
607
-
608
-
609
- </td>
610
- <td>
611
- <div class="method-name ">
612
- <a href="#method_shouldIncludeAddon">shouldIncludeAddon</a>(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
613
- </div>
614
- <div class="short-description">
615
-
616
- </div>
617
- </td>
618
- </tr>
619
- <tr>
620
- <td>
621
- private
622
-
623
-
624
- </td>
625
- <td>
626
- <div class="method-name ">
627
- <a href="#method_toArray">toArray</a>( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
628
- </div>
629
- <div class="short-description">
630
-
631
- </div>
632
- </td>
633
- </tr>
634
- </tbody>
635
- </table>
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
- <div id="methods public">
644
- <h2 id="public-constructors">Public Constructors</h2>
645
- <div class="method item">
646
- <div id="method_EmberAddon" class="title">
647
- <span class="source-link"><a href="../files/lib_broccoli_ember-addon.js.html#l13"><code>lib&#x2F;broccoli&#x2F;ember-addon.js:13</code></a></span>
648
- <h3 class="">
649
- public
650
-
651
-
652
- EmberAddon([defaults], [options={}])
653
- </h3>
654
- </div>
655
-
656
-
657
-
658
- <div class="method-description"></div>
659
-
660
- <div class="params">
661
- <h4>Parameters:</h4>
662
- <table>
663
- <thead>
664
- <tr>
665
- <th>Name</th>
666
- <th>Type</th>
667
- <th>Attribute</th>
668
- <th>Description</th>
669
- </tr>
670
- </thead>
671
- <tbody>
672
- <tr>
673
- <td>defaults</td>
674
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
675
- <td>
676
- <ul>
677
- <li>optional</li>
678
-
679
-
680
- </ul>
681
- </td>
682
- <td> </td>
683
- </tr>
684
-
685
- <tr>
686
- <td>options</td>
687
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
688
- <td>
689
- <ul>
690
- <li>optional</li>
691
- <li>default: {}</li>
692
-
693
- </ul>
694
- </td>
695
- <td><p>Configuration options</p>
696
- </td>
697
- </tr>
698
-
699
- </tbody>
700
- </table>
701
- </div>
702
-
703
-
704
-
705
- </div>
706
- </div>
707
-
708
-
709
-
710
-
711
-
712
-
713
- <div id="methods public">
714
- <h2 id="public-methods">Public Methods</h2>
715
- <div class="method item public">
716
- <div id="method_dependencies" class="title">
717
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1413"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1413</code></a></span>
718
- <h3 class="">
719
- public
720
-
721
-
722
- dependencies( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a>
723
- </h3>
724
- </div>
725
-
726
- <div class="inherited">
727
- Inherited from <a href="../classes/EmberApp.html#method_dependencies" class="crosslink">EmberApp</a>
728
- </div>
729
-
730
-
731
- <div class="method-description"></div>
732
-
733
-
734
- <div class="return">
735
- <h4>Return:</h4>
736
- <div>
737
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
738
- <span class="return-description">Alias to the project's dependencies function</span>
739
- </div>
740
- </div>
741
-
742
-
743
- </div>
744
- <div class="method item public">
745
- <div id="method_import" class="title">
746
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1422"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1422</code></a></span>
747
- <h3 class="">
748
- public
749
-
750
-
751
- import(asset, [options])
752
- </h3>
753
- </div>
754
-
755
- <div class="inherited">
756
- Inherited from <a href="../classes/EmberApp.html#method_import" class="crosslink">EmberApp</a>
757
- </div>
758
-
759
-
760
- <div class="method-description">Imports an asset into the application.</div>
761
-
762
- <div class="params">
763
- <h4>Parameters:</h4>
764
- <table>
765
- <thead>
766
- <tr>
767
- <th>Name</th>
768
- <th>Type</th>
769
- <th>Attribute</th>
770
- <th>Description</th>
771
- </tr>
772
- </thead>
773
- <tbody>
774
- <tr>
775
- <td>asset</td>
776
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> | <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
777
- <td>
778
- <ul>
779
-
780
-
781
-
782
- </ul>
783
- </td>
784
- <td>Either a path to the asset or an object with environment names and paths as key-value pairs.</td>
785
- </tr>
786
-
787
- <tr>
788
- <td>options</td>
789
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
790
- <td>
791
- <ul>
792
- <li>optional</li>
793
-
794
-
795
- </ul>
796
- </td>
797
- <td>Options object</td>
798
- </tr>
799
-
800
- <tr>
801
- <td>options.type</td>
802
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
803
- <td>
804
- <ul>
805
- <li>optional</li>
806
- <li>default: 'vendor'</li>
807
-
808
- </ul>
809
- </td>
810
- <td><p>Either 'vendor' or 'test'</p>
811
- </td>
812
- </tr>
813
- <tr>
814
- <td>options.prepend</td>
815
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
816
- <td>
817
- <ul>
818
- <li>optional</li>
819
- <li>default: false</li>
820
-
821
- </ul>
822
- </td>
823
- <td><p>Whether or not this asset should be prepended</p>
824
- </td>
825
- </tr>
826
- <tr>
827
- <td>options.destDir</td>
828
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
829
- <td>
830
- <ul>
831
- <li>optional</li>
832
-
833
-
834
- </ul>
835
- </td>
836
- <td><p>Destination directory, defaults to the name of the directory the asset is in</p>
837
- </td>
838
- </tr>
839
- <tr>
840
- <td>options.outputFile</td>
841
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
842
- <td>
843
- <ul>
844
- <li>optional</li>
845
-
846
-
847
- </ul>
848
- </td>
849
- <td><p>Specifies the output file for given import. Defaults to assets/vendor.{js,css}</p>
850
- </td>
851
- </tr>
852
- <tr>
853
- <td>options.using</td>
854
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></td>
855
- <td>
856
- <ul>
857
- <li>optional</li>
858
-
859
-
860
- </ul>
861
- </td>
862
- <td><p>Specifies the array of transformations to be done on the asset. Can do an amd shim and/or custom transformation</p>
863
- </td>
864
- </tr>
865
- </tbody>
866
- </table>
867
- </div>
868
-
869
-
870
-
871
- </div>
872
- <div class="method item public">
873
- <div id="method_toTree" class="title">
874
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1698"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1698</code></a></span>
875
- <h3 class="">
876
- public
877
-
878
-
879
- toTree([additionalTrees]): Tree
880
- </h3>
881
- </div>
882
-
883
- <div class="inherited">
884
- Inherited from <a href="../classes/EmberApp.html#method_toTree" class="crosslink">EmberApp</a>
885
- </div>
886
-
887
-
888
- <div class="method-description">Returns the merged tree for this application</div>
889
-
890
- <div class="params">
891
- <h4>Parameters:</h4>
892
- <table>
893
- <thead>
894
- <tr>
895
- <th>Name</th>
896
- <th>Type</th>
897
- <th>Attribute</th>
898
- <th>Description</th>
899
- </tr>
900
- </thead>
901
- <tbody>
902
- <tr>
903
- <td>additionalTrees</td>
904
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></td>
905
- <td>
906
- <ul>
907
- <li>optional</li>
908
-
909
-
910
- </ul>
911
- </td>
912
- <td>Array of additional trees to merge</td>
913
- </tr>
914
-
915
- </tbody>
916
- </table>
917
- </div>
918
-
919
- <div class="return">
920
- <h4>Return:</h4>
921
- <div>
922
- <span class="return-type">Tree</span>
923
- <span class="return-description">Merged tree for this application</span>
924
- </div>
925
- </div>
926
-
927
-
928
- </div>
929
- </div>
930
-
931
-
932
- <div id="methods private">
933
- <h2 id="private-methods">Private Methods</h2>
934
- <div class="method item private">
935
- <div id="method__addonDisabledByExclude" class="title">
936
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l594"><code>lib&#x2F;broccoli&#x2F;ember-app.js:594</code></a></span>
937
- <h3 class="">
938
- private
939
-
940
-
941
- _addonDisabledByExclude(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
942
- </h3>
943
- </div>
944
-
945
- <div class="inherited">
946
- Inherited from <a href="../classes/EmberApp.html#method__addonDisabledByExclude" class="crosslink">EmberApp</a>
947
- </div>
948
-
949
-
950
- <div class="method-description"></div>
951
-
952
- <div class="params">
953
- <h4>Parameters:</h4>
954
- <table>
955
- <thead>
956
- <tr>
957
- <th>Name</th>
958
- <th>Type</th>
959
- <th>Attribute</th>
960
- <th>Description</th>
961
- </tr>
962
- </thead>
963
- <tbody>
964
- <tr>
965
- <td>addon</td>
966
- <td><a href="../classes/Addon.html" class="crosslink">Addon</a></td>
967
- <td>
968
- <ul>
969
-
970
-
971
-
972
- </ul>
973
- </td>
974
- <td> </td>
975
- </tr>
976
-
977
- </tbody>
978
- </table>
979
- </div>
980
-
981
- <div class="return">
982
- <h4>Return:</h4>
983
- <div>
984
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
985
- <span class="return-description"></span>
986
- </div>
987
- </div>
988
-
989
-
990
- </div>
991
- <div class="method item private">
992
- <div id="method__addonDisabledByInclude" class="title">
993
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l605"><code>lib&#x2F;broccoli&#x2F;ember-app.js:605</code></a></span>
994
- <h3 class="">
995
- private
996
-
997
-
998
- _addonDisabledByInclude(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
999
- </h3>
1000
- </div>
1001
-
1002
- <div class="inherited">
1003
- Inherited from <a href="../classes/EmberApp.html#method__addonDisabledByInclude" class="crosslink">EmberApp</a>
1004
- </div>
1005
-
1006
-
1007
- <div class="method-description"></div>
1008
-
1009
- <div class="params">
1010
- <h4>Parameters:</h4>
1011
- <table>
1012
- <thead>
1013
- <tr>
1014
- <th>Name</th>
1015
- <th>Type</th>
1016
- <th>Attribute</th>
1017
- <th>Description</th>
1018
- </tr>
1019
- </thead>
1020
- <tbody>
1021
- <tr>
1022
- <td>addon</td>
1023
- <td><a href="../classes/Addon.html" class="crosslink">Addon</a></td>
1024
- <td>
1025
- <ul>
1026
-
1027
-
1028
-
1029
- </ul>
1030
- </td>
1031
- <td> </td>
1032
- </tr>
1033
-
1034
- </tbody>
1035
- </table>
1036
- </div>
1037
-
1038
- <div class="return">
1039
- <h4>Return:</h4>
1040
- <div>
1041
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1042
- <span class="return-description"></span>
1043
- </div>
1044
- </div>
1045
-
1046
-
1047
- </div>
1048
- <div class="method item private">
1049
- <div id="method__addonEnabled" class="title">
1050
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l582"><code>lib&#x2F;broccoli&#x2F;ember-app.js:582</code></a></span>
1051
- <h3 class="">
1052
- private
1053
-
1054
-
1055
- _addonEnabled(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
1056
- </h3>
1057
- </div>
1058
-
1059
- <div class="inherited">
1060
- Inherited from <a href="../classes/EmberApp.html#method__addonEnabled" class="crosslink">EmberApp</a>
1061
- </div>
1062
-
1063
-
1064
- <div class="method-description">Checks the result of <code>addon.isEnabled()</code> if it exists, defaults to <code>true</code> otherwise.</div>
1065
-
1066
- <div class="params">
1067
- <h4>Parameters:</h4>
1068
- <table>
1069
- <thead>
1070
- <tr>
1071
- <th>Name</th>
1072
- <th>Type</th>
1073
- <th>Attribute</th>
1074
- <th>Description</th>
1075
- </tr>
1076
- </thead>
1077
- <tbody>
1078
- <tr>
1079
- <td>addon</td>
1080
- <td><a href="../classes/Addon.html" class="crosslink">Addon</a></td>
1081
- <td>
1082
- <ul>
1083
-
1084
-
1085
-
1086
- </ul>
1087
- </td>
1088
- <td> </td>
1089
- </tr>
1090
-
1091
- </tbody>
1092
- </table>
1093
- </div>
1094
-
1095
- <div class="return">
1096
- <h4>Return:</h4>
1097
- <div>
1098
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1099
- <span class="return-description"></span>
1100
- </div>
1101
- </div>
1102
-
1103
-
1104
- </div>
1105
- <div class="method item private">
1106
- <div id="method__addonInstalled" class="title">
1107
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1403"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1403</code></a></span>
1108
- <h3 class="">
1109
- private
1110
-
1111
-
1112
- _addonInstalled(addonName): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
1113
- </h3>
1114
- </div>
1115
-
1116
- <div class="inherited">
1117
- Inherited from <a href="../classes/EmberApp.html#method__addonInstalled" class="crosslink">EmberApp</a>
1118
- </div>
1119
-
1120
-
1121
- <div class="method-description"></div>
1122
-
1123
- <div class="params">
1124
- <h4>Parameters:</h4>
1125
- <table>
1126
- <thead>
1127
- <tr>
1128
- <th>Name</th>
1129
- <th>Type</th>
1130
- <th>Attribute</th>
1131
- <th>Description</th>
1132
- </tr>
1133
- </thead>
1134
- <tbody>
1135
- <tr>
1136
- <td>addonName</td>
1137
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1138
- <td>
1139
- <ul>
1140
-
1141
-
1142
-
1143
- </ul>
1144
- </td>
1145
- <td>The name of the addon we are checking to see if it's installed</td>
1146
- </tr>
1147
-
1148
- </tbody>
1149
- </table>
1150
- </div>
1151
-
1152
- <div class="return">
1153
- <h4>Return:</h4>
1154
- <div>
1155
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1156
- <span class="return-description"></span>
1157
- </div>
1158
- </div>
1159
-
1160
-
1161
- </div>
1162
- <div class="method item private">
1163
- <div id="method__checkEmberCliBabel" class="title">
1164
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l616"><code>lib&#x2F;broccoli&#x2F;ember-app.js:616</code></a></span>
1165
- <h3 class="">
1166
- private
1167
-
1168
-
1169
- _checkEmberCliBabel(addons): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
1170
- </h3>
1171
- </div>
1172
-
1173
- <div class="inherited">
1174
- Inherited from <a href="../classes/EmberApp.html#method__checkEmberCliBabel" class="crosslink">EmberApp</a>
1175
- </div>
1176
-
1177
-
1178
- <div class="method-description"></div>
1179
-
1180
- <div class="params">
1181
- <h4>Parameters:</h4>
1182
- <table>
1183
- <thead>
1184
- <tr>
1185
- <th>Name</th>
1186
- <th>Type</th>
1187
- <th>Attribute</th>
1188
- <th>Description</th>
1189
- </tr>
1190
- </thead>
1191
- <tbody>
1192
- <tr>
1193
- <td>addons</td>
1194
- <td>Addons</td>
1195
- <td>
1196
- <ul>
1197
-
1198
-
1199
-
1200
- </ul>
1201
- </td>
1202
- <td> </td>
1203
- </tr>
1204
-
1205
- </tbody>
1206
- </table>
1207
- </div>
1208
-
1209
- <div class="return">
1210
- <h4>Return:</h4>
1211
- <div>
1212
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1213
- <span class="return-description"></span>
1214
- </div>
1215
- </div>
1216
-
1217
-
1218
- </div>
1219
- <div class="method item private">
1220
- <div id="method__concatFiles" class="title">
1221
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l567"><code>lib&#x2F;broccoli&#x2F;ember-app.js:567</code></a></span>
1222
- <h3 class="">
1223
- private
1224
-
1225
-
1226
- _concatFiles(tree, options):
1227
- </h3>
1228
- </div>
1229
-
1230
- <div class="inherited">
1231
- Inherited from <a href="../classes/EmberApp.html#method__concatFiles" class="crosslink">EmberApp</a>
1232
- </div>
1233
-
1234
-
1235
- <div class="method-description">Delegates to <code>broccoli-concat</code> with the <code>sourceMapConfig</code> option set to <code>options.sourcemaps</code>.</div>
1236
-
1237
- <div class="params">
1238
- <h4>Parameters:</h4>
1239
- <table>
1240
- <thead>
1241
- <tr>
1242
- <th>Name</th>
1243
- <th>Type</th>
1244
- <th>Attribute</th>
1245
- <th>Description</th>
1246
- </tr>
1247
- </thead>
1248
- <tbody>
1249
- <tr>
1250
- <td>tree</td>
1251
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1252
- <td>
1253
- <ul>
1254
-
1255
-
1256
-
1257
- </ul>
1258
- </td>
1259
- <td> </td>
1260
- </tr>
1261
-
1262
- <tr>
1263
- <td>options</td>
1264
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1265
- <td>
1266
- <ul>
1267
-
1268
-
1269
-
1270
- </ul>
1271
- </td>
1272
- <td> </td>
1273
- </tr>
1274
-
1275
- </tbody>
1276
- </table>
1277
- </div>
1278
-
1279
- <div class="return">
1280
- <h4>Return:</h4>
1281
- <div>
1282
-
1283
- <span class="return-description"></span>
1284
- </div>
1285
- </div>
1286
-
1287
-
1288
- </div>
1289
- <div class="method item private">
1290
- <div id="method__getAssetPath" class="title">
1291
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1553"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1553</code></a></span>
1292
- <h3 class="">
1293
- private
1294
-
1295
-
1296
- _getAssetPath(asset): (String | Undefined)
1297
- </h3>
1298
- </div>
1299
-
1300
- <div class="inherited">
1301
- Inherited from <a href="../classes/EmberApp.html#method__getAssetPath" class="crosslink">EmberApp</a>
1302
- </div>
1303
-
1304
-
1305
- <div class="method-description"></div>
1306
-
1307
- <div class="params">
1308
- <h4>Parameters:</h4>
1309
- <table>
1310
- <thead>
1311
- <tr>
1312
- <th>Name</th>
1313
- <th>Type</th>
1314
- <th>Attribute</th>
1315
- <th>Description</th>
1316
- </tr>
1317
- </thead>
1318
- <tbody>
1319
- <tr>
1320
- <td>asset</td>
1321
- <td>(Object | String)</td>
1322
- <td>
1323
- <ul>
1324
-
1325
-
1326
-
1327
- </ul>
1328
- </td>
1329
- <td> </td>
1330
- </tr>
1331
-
1332
- </tbody>
1333
- </table>
1334
- </div>
1335
-
1336
- <div class="return">
1337
- <h4>Return:</h4>
1338
- <div>
1339
- <span class="return-type">(String | Undefined)</span>
1340
- <span class="return-description">assetPath</span>
1341
- </div>
1342
- </div>
1343
-
1344
-
1345
- </div>
1346
- <div class="method item private">
1347
- <div id="method__import" class="title">
1348
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1468"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1468</code></a></span>
1349
- <h3 class="">
1350
- private
1351
-
1352
-
1353
- _import(assetPath, options, directory, subdirectory, extension)
1354
- </h3>
1355
- </div>
1356
-
1357
- <div class="inherited">
1358
- Inherited from <a href="../classes/EmberApp.html#method__import" class="crosslink">EmberApp</a>
1359
- </div>
1360
-
1361
-
1362
- <div class="method-description"></div>
1363
-
1364
- <div class="params">
1365
- <h4>Parameters:</h4>
1366
- <table>
1367
- <thead>
1368
- <tr>
1369
- <th>Name</th>
1370
- <th>Type</th>
1371
- <th>Attribute</th>
1372
- <th>Description</th>
1373
- </tr>
1374
- </thead>
1375
- <tbody>
1376
- <tr>
1377
- <td>assetPath</td>
1378
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1379
- <td>
1380
- <ul>
1381
-
1382
-
1383
-
1384
- </ul>
1385
- </td>
1386
- <td> </td>
1387
- </tr>
1388
-
1389
- <tr>
1390
- <td>options</td>
1391
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1392
- <td>
1393
- <ul>
1394
-
1395
-
1396
-
1397
- </ul>
1398
- </td>
1399
- <td> </td>
1400
- </tr>
1401
-
1402
- <tr>
1403
- <td>directory</td>
1404
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1405
- <td>
1406
- <ul>
1407
-
1408
-
1409
-
1410
- </ul>
1411
- </td>
1412
- <td> </td>
1413
- </tr>
1414
-
1415
- <tr>
1416
- <td>subdirectory</td>
1417
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1418
- <td>
1419
- <ul>
1420
-
1421
-
1422
-
1423
- </ul>
1424
- </td>
1425
- <td> </td>
1426
- </tr>
1427
-
1428
- <tr>
1429
- <td>extension</td>
1430
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1431
- <td>
1432
- <ul>
1433
-
1434
-
1435
-
1436
- </ul>
1437
- </td>
1438
- <td> </td>
1439
- </tr>
1440
-
1441
- </tbody>
1442
- </table>
1443
- </div>
1444
-
1445
-
1446
-
1447
- </div>
1448
- <div class="method item private">
1449
- <div id="method__importAddonTransforms" class="title">
1450
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l700"><code>lib&#x2F;broccoli&#x2F;ember-app.js:700</code></a></span>
1451
- <h3 class="">
1452
- private
1453
-
1454
-
1455
- _importAddonTransforms( )
1456
- </h3>
1457
- </div>
1458
-
1459
- <div class="inherited">
1460
- Inherited from <a href="../classes/EmberApp.html#method__importAddonTransforms" class="crosslink">EmberApp</a>
1461
- </div>
1462
-
1463
-
1464
- <div class="method-description">Calls the importTransforms hook on addons.</div>
1465
-
1466
-
1467
-
1468
-
1469
- </div>
1470
- <div class="method item private">
1471
- <div id="method__initOptions" class="title">
1472
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l238"><code>lib&#x2F;broccoli&#x2F;ember-app.js:238</code></a></span>
1473
- <h3 class="">
1474
- private
1475
-
1476
-
1477
- _initOptions(options)
1478
- </h3>
1479
- </div>
1480
-
1481
- <div class="inherited">
1482
- Inherited from <a href="../classes/EmberApp.html#method__initOptions" class="crosslink">EmberApp</a>
1483
- </div>
1484
-
1485
-
1486
- <div class="method-description">Initializes the <code>options</code> property from the <code>options</code> parameter and
1487
- a set of default values from Ember CLI.</div>
1488
-
1489
- <div class="params">
1490
- <h4>Parameters:</h4>
1491
- <table>
1492
- <thead>
1493
- <tr>
1494
- <th>Name</th>
1495
- <th>Type</th>
1496
- <th>Attribute</th>
1497
- <th>Description</th>
1498
- </tr>
1499
- </thead>
1500
- <tbody>
1501
- <tr>
1502
- <td>options</td>
1503
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1504
- <td>
1505
- <ul>
1506
-
1507
-
1508
-
1509
- </ul>
1510
- </td>
1511
- <td> </td>
1512
- </tr>
1513
-
1514
- </tbody>
1515
- </table>
1516
- </div>
1517
-
1518
-
1519
-
1520
- </div>
1521
- <div class="method item private">
1522
- <div id="method__initProject" class="title">
1523
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l217"><code>lib&#x2F;broccoli&#x2F;ember-app.js:217</code></a></span>
1524
- <h3 class="">
1525
- private
1526
-
1527
-
1528
- _initProject(options)
1529
- </h3>
1530
- </div>
1531
-
1532
- <div class="inherited">
1533
- Inherited from <a href="../classes/EmberApp.html#method__initProject" class="crosslink">EmberApp</a>
1534
- </div>
1535
-
1536
-
1537
- <div class="method-description">Initializes the <code>project</code> property from <code>options.project</code> or the
1538
- closest Ember CLI project from the current working directory.</div>
1539
-
1540
- <div class="params">
1541
- <h4>Parameters:</h4>
1542
- <table>
1543
- <thead>
1544
- <tr>
1545
- <th>Name</th>
1546
- <th>Type</th>
1547
- <th>Attribute</th>
1548
- <th>Description</th>
1549
- </tr>
1550
- </thead>
1551
- <tbody>
1552
- <tr>
1553
- <td>options</td>
1554
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1555
- <td>
1556
- <ul>
1557
-
1558
-
1559
-
1560
- </ul>
1561
- </td>
1562
- <td> </td>
1563
- </tr>
1564
-
1565
- </tbody>
1566
- </table>
1567
- </div>
1568
-
1569
-
1570
-
1571
- </div>
1572
- <div class="method item private">
1573
- <div id="method__initTestsAndHinting" class="title">
1574
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l201"><code>lib&#x2F;broccoli&#x2F;ember-app.js:201</code></a></span>
1575
- <h3 class="">
1576
- private
1577
-
1578
-
1579
- _initTestsAndHinting(options)
1580
- </h3>
1581
- </div>
1582
-
1583
- <div class="inherited">
1584
- Inherited from <a href="../classes/EmberApp.html#method__initTestsAndHinting" class="crosslink">EmberApp</a>
1585
- </div>
1586
-
1587
-
1588
- <div class="method-description">Initializes the <code>tests</code> and <code>hinting</code> properties.
1589
-
1590
- Defaults to <code>false</code> unless <code>ember test</code> was used or this is *not* a production build.</div>
1591
-
1592
- <div class="params">
1593
- <h4>Parameters:</h4>
1594
- <table>
1595
- <thead>
1596
- <tr>
1597
- <th>Name</th>
1598
- <th>Type</th>
1599
- <th>Attribute</th>
1600
- <th>Description</th>
1601
- </tr>
1602
- </thead>
1603
- <tbody>
1604
- <tr>
1605
- <td>options</td>
1606
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></td>
1607
- <td>
1608
- <ul>
1609
-
1610
-
1611
-
1612
- </ul>
1613
- </td>
1614
- <td> </td>
1615
- </tr>
1616
-
1617
- </tbody>
1618
- </table>
1619
- </div>
1620
-
1621
-
1622
-
1623
- </div>
1624
- <div class="method item private">
1625
- <div id="method__initVendorFiles" class="title">
1626
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l436"><code>lib&#x2F;broccoli&#x2F;ember-app.js:436</code></a></span>
1627
- <h3 class="">
1628
- private
1629
-
1630
-
1631
- _initVendorFiles( )
1632
- </h3>
1633
- </div>
1634
-
1635
- <div class="inherited">
1636
- Inherited from <a href="../classes/EmberApp.html#method__initVendorFiles" class="crosslink">EmberApp</a>
1637
- </div>
1638
-
1639
-
1640
- <div class="method-description"></div>
1641
-
1642
-
1643
-
1644
-
1645
- </div>
1646
- <div class="method item private">
1647
- <div id="method__notifyAddonIncluded" class="title">
1648
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l660"><code>lib&#x2F;broccoli&#x2F;ember-app.js:660</code></a></span>
1649
- <h3 class="">
1650
- private
1651
-
1652
-
1653
- _notifyAddonIncluded( )
1654
- </h3>
1655
- </div>
1656
-
1657
- <div class="inherited">
1658
- Inherited from <a href="../classes/EmberApp.html#method__notifyAddonIncluded" class="crosslink">EmberApp</a>
1659
- </div>
1660
-
1661
-
1662
- <div class="method-description">Calls the included hook on addons.</div>
1663
-
1664
-
1665
-
1666
-
1667
- </div>
1668
- <div class="method item private">
1669
- <div id="method__podTemplatePatterns" class="title">
1670
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1148"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1148</code></a></span>
1671
- <h3 class="">
1672
- private
1673
-
1674
-
1675
- _podTemplatePatterns( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
1676
- </h3>
1677
- </div>
1678
-
1679
- <div class="inherited">
1680
- Inherited from <a href="../classes/EmberApp.html#method__podTemplatePatterns" class="crosslink">EmberApp</a>
1681
- </div>
1682
-
1683
-
1684
- <div class="method-description"></div>
1685
-
1686
-
1687
- <div class="return">
1688
- <h4>Return:</h4>
1689
- <div>
1690
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
1691
- <span class="return-description">An array of regular expressions.</span>
1692
- </div>
1693
- </div>
1694
-
1695
-
1696
- </div>
1697
- <div class="method item private">
1698
- <div id="method__resolveLocal" class="title">
1699
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l426"><code>lib&#x2F;broccoli&#x2F;ember-app.js:426</code></a></span>
1700
- <h3 class="">
1701
- private
1702
-
1703
-
1704
- _resolveLocal( )
1705
- </h3>
1706
- </div>
1707
-
1708
- <div class="inherited">
1709
- Inherited from <a href="../classes/EmberApp.html#method__resolveLocal" class="crosslink">EmberApp</a>
1710
- </div>
1711
-
1712
-
1713
- <div class="method-description">Resolves a path relative to the project's root</div>
1714
-
1715
-
1716
-
1717
-
1718
- </div>
1719
- <div class="method item private">
1720
- <div id="method_addonLintTree" class="title">
1721
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l948"><code>lib&#x2F;broccoli&#x2F;ember-app.js:948</code></a></span>
1722
- <h3 class="">
1723
- private
1724
-
1725
-
1726
- addonLintTree(type, tree): Tree
1727
- </h3>
1728
- </div>
1729
-
1730
- <div class="inherited">
1731
- Inherited from <a href="../classes/EmberApp.html#method_addonLintTree" class="crosslink">EmberApp</a>
1732
- </div>
1733
-
1734
-
1735
- <div class="method-description">Runs addon lintTree hooks and returns a single tree containing all
1736
- their output.</div>
1737
-
1738
- <div class="params">
1739
- <h4>Parameters:</h4>
1740
- <table>
1741
- <thead>
1742
- <tr>
1743
- <th>Name</th>
1744
- <th>Type</th>
1745
- <th>Attribute</th>
1746
- <th>Description</th>
1747
- </tr>
1748
- </thead>
1749
- <tbody>
1750
- <tr>
1751
- <td>type</td>
1752
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1753
- <td>
1754
- <ul>
1755
-
1756
-
1757
-
1758
- </ul>
1759
- </td>
1760
- <td>Type of tree</td>
1761
- </tr>
1762
-
1763
- <tr>
1764
- <td>tree</td>
1765
- <td>Tree</td>
1766
- <td>
1767
- <ul>
1768
-
1769
-
1770
-
1771
- </ul>
1772
- </td>
1773
- <td>Tree to process</td>
1774
- </tr>
1775
-
1776
- </tbody>
1777
- </table>
1778
- </div>
1779
-
1780
- <div class="return">
1781
- <h4>Return:</h4>
1782
- <div>
1783
- <span class="return-type">Tree</span>
1784
- <span class="return-description">Processed tree</span>
1785
- </div>
1786
- </div>
1787
-
1788
-
1789
- </div>
1790
- <div class="method item private">
1791
- <div id="method_addonPostprocessTree" class="title">
1792
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l875"><code>lib&#x2F;broccoli&#x2F;ember-app.js:875</code></a></span>
1793
- <h3 class="">
1794
- private
1795
-
1796
-
1797
- addonPostprocessTree(type, tree): Tree
1798
- </h3>
1799
- </div>
1800
-
1801
- <div class="inherited">
1802
- Inherited from <a href="../classes/EmberApp.html#method_addonPostprocessTree" class="crosslink">EmberApp</a>
1803
- </div>
1804
-
1805
-
1806
- <div class="method-description">Runs addon post-processing on a given tree and returns the processed tree.
1807
-
1808
- This enables addons to do process immediately **after** the preprocessor for a
1809
- given type is run, but before concatenation occurs. If an addon wishes to
1810
- apply a transform before the preprocessors run, they can instead implement the
1811
- preprocessTree hook.
1812
-
1813
- To utilize this addons implement <code>postprocessTree</code> hook.
1814
-
1815
- An example, would be to apply some broccoli transform on all JS files, but
1816
- only after the existing pre-processors have run.
1817
-
1818
- <code>&#x60;</code>js
1819
- module.exports = {
1820
- name: 'my-cool-addon',
1821
- postprocessTree(type, tree) {
1822
- if (type === 'js') {
1823
- return someBroccoliTransform(tree);
1824
- }
1825
-
1826
- return tree;
1827
- }
1828
- }
1829
-
1830
- <code>&#x60;</code></div>
1831
-
1832
- <div class="params">
1833
- <h4>Parameters:</h4>
1834
- <table>
1835
- <thead>
1836
- <tr>
1837
- <th>Name</th>
1838
- <th>Type</th>
1839
- <th>Attribute</th>
1840
- <th>Description</th>
1841
- </tr>
1842
- </thead>
1843
- <tbody>
1844
- <tr>
1845
- <td>type</td>
1846
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1847
- <td>
1848
- <ul>
1849
-
1850
-
1851
-
1852
- </ul>
1853
- </td>
1854
- <td>Type of tree</td>
1855
- </tr>
1856
-
1857
- <tr>
1858
- <td>tree</td>
1859
- <td>Tree</td>
1860
- <td>
1861
- <ul>
1862
-
1863
-
1864
-
1865
- </ul>
1866
- </td>
1867
- <td>Tree to process</td>
1868
- </tr>
1869
-
1870
- </tbody>
1871
- </table>
1872
- </div>
1873
-
1874
- <div class="return">
1875
- <h4>Return:</h4>
1876
- <div>
1877
- <span class="return-type">Tree</span>
1878
- <span class="return-description">Processed tree</span>
1879
- </div>
1880
- </div>
1881
-
1882
-
1883
- </div>
1884
- <div class="method item private">
1885
- <div id="method_addonPreprocessTree" class="title">
1886
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l912"><code>lib&#x2F;broccoli&#x2F;ember-app.js:912</code></a></span>
1887
- <h3 class="">
1888
- private
1889
-
1890
-
1891
- addonPreprocessTree(type, tree): Tree
1892
- </h3>
1893
- </div>
1894
-
1895
- <div class="inherited">
1896
- Inherited from <a href="../classes/EmberApp.html#method_addonPreprocessTree" class="crosslink">EmberApp</a>
1897
- </div>
1898
-
1899
-
1900
- <div class="method-description">Runs addon pre-processing on a given tree and returns the processed tree.
1901
-
1902
- This enables addons to do process immediately **before** the preprocessor for a
1903
- given type is run. If an addon wishes to apply a transform after the
1904
- preprocessors run, they can instead implement the postprocessTree hook.
1905
-
1906
- To utilize this addons implement <code>preprocessTree</code> hook.
1907
-
1908
- An example, would be to remove some set of files before the preprocessors run.
1909
-
1910
- <code>&#x60;</code>js
1911
- var stew = require('broccoli-stew');
1912
-
1913
- module.exports = {
1914
- name: 'my-cool-addon',
1915
- preprocessTree(type, tree) {
1916
- if (type === 'js' && type === 'template') {
1917
- return stew.rm(tree, someGlobPattern);
1918
- }
1919
-
1920
- return tree;
1921
- }
1922
- }
1923
- <code>&#x60;</code></div>
1924
-
1925
- <div class="params">
1926
- <h4>Parameters:</h4>
1927
- <table>
1928
- <thead>
1929
- <tr>
1930
- <th>Name</th>
1931
- <th>Type</th>
1932
- <th>Attribute</th>
1933
- <th>Description</th>
1934
- </tr>
1935
- </thead>
1936
- <tbody>
1937
- <tr>
1938
- <td>type</td>
1939
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
1940
- <td>
1941
- <ul>
1942
-
1943
-
1944
-
1945
- </ul>
1946
- </td>
1947
- <td>Type of tree</td>
1948
- </tr>
1949
-
1950
- <tr>
1951
- <td>tree</td>
1952
- <td>Tree</td>
1953
- <td>
1954
- <ul>
1955
-
1956
-
1957
-
1958
- </ul>
1959
- </td>
1960
- <td>Tree to process</td>
1961
- </tr>
1962
-
1963
- </tbody>
1964
- </table>
1965
- </div>
1966
-
1967
- <div class="return">
1968
- <h4>Return:</h4>
1969
- <div>
1970
- <span class="return-type">Tree</span>
1971
- <span class="return-description">Processed tree</span>
1972
- </div>
1973
- </div>
1974
-
1975
-
1976
- </div>
1977
- <div class="method item private">
1978
- <div id="method_addonTreesFor" class="title">
1979
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l776"><code>lib&#x2F;broccoli&#x2F;ember-app.js:776</code></a></span>
1980
- <h3 class="">
1981
- private
1982
-
1983
-
1984
- addonTreesFor(type): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
1985
- </h3>
1986
- </div>
1987
-
1988
- <div class="inherited">
1989
- Inherited from <a href="../classes/EmberApp.html#method_addonTreesFor" class="crosslink">EmberApp</a>
1990
- </div>
1991
-
1992
-
1993
- <div class="method-description">Returns a list of trees for a given type, returned by all addons.</div>
1994
-
1995
- <div class="params">
1996
- <h4>Parameters:</h4>
1997
- <table>
1998
- <thead>
1999
- <tr>
2000
- <th>Name</th>
2001
- <th>Type</th>
2002
- <th>Attribute</th>
2003
- <th>Description</th>
2004
- </tr>
2005
- </thead>
2006
- <tbody>
2007
- <tr>
2008
- <td>type</td>
2009
- <td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
2010
- <td>
2011
- <ul>
2012
-
2013
-
2014
-
2015
- </ul>
2016
- </td>
2017
- <td>Type of tree</td>
2018
- </tr>
2019
-
2020
- </tbody>
2021
- </table>
2022
- </div>
2023
-
2024
- <div class="return">
2025
- <h4>Return:</h4>
2026
- <div>
2027
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2028
- <span class="return-description">List of trees</span>
2029
- </div>
2030
- </div>
2031
-
2032
-
2033
- </div>
2034
- <div class="method item private">
2035
- <div id="method_getLintTests" class="title">
2036
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1363"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1363</code></a></span>
2037
- <h3 class="">
2038
- private
2039
-
2040
-
2041
- getLintTests( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
2042
- </h3>
2043
- </div>
2044
-
2045
- <div class="inherited">
2046
- Inherited from <a href="../classes/EmberApp.html#method_getLintTests" class="crosslink">EmberApp</a>
2047
- </div>
2048
-
2049
-
2050
- <div class="method-description">Runs the <code>app</code>, <code>tests</code> and <code>templates</code> trees through the chain of addons that produces lint trees.
2051
-
2052
- Those lint trees are afterwards funneled into the <code>tests</code> folder, babel-ified and returned as an array.</div>
2053
-
2054
-
2055
- <div class="return">
2056
- <h4>Return:</h4>
2057
- <div>
2058
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2059
- <span class="return-description"></span>
2060
- </div>
2061
- </div>
2062
-
2063
-
2064
- </div>
2065
- <div class="method item private">
2066
- <div id="method_initializeAddons" class="title">
2067
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l749"><code>lib&#x2F;broccoli&#x2F;ember-app.js:749</code></a></span>
2068
- <h3 class="">
2069
- private
2070
-
2071
-
2072
- initializeAddons( )
2073
- </h3>
2074
- </div>
2075
-
2076
- <div class="inherited">
2077
- Inherited from <a href="../classes/EmberApp.html#method_initializeAddons" class="crosslink">EmberApp</a>
2078
- </div>
2079
-
2080
-
2081
- <div class="method-description">Loads and initializes addons for this project.
2082
- Calls initializeAddons on the Project.</div>
2083
-
2084
-
2085
-
2086
-
2087
- </div>
2088
- <div class="method item private">
2089
- <div id="method_populateLegacyFiles" class="title">
2090
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l967"><code>lib&#x2F;broccoli&#x2F;ember-app.js:967</code></a></span>
2091
- <h3 class="">
2092
- private
2093
-
2094
-
2095
- populateLegacyFiles( )
2096
- </h3>
2097
- </div>
2098
-
2099
- <div class="inherited">
2100
- Inherited from <a href="../classes/EmberApp.html#method_populateLegacyFiles" class="crosslink">EmberApp</a>
2101
- </div>
2102
-
2103
-
2104
- <div class="method-description">Imports legacy imports in this.vendorFiles</div>
2105
-
2106
-
2107
-
2108
-
2109
- </div>
2110
- <div class="method item private">
2111
- <div id="method_shouldIncludeAddon" class="title">
2112
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l644"><code>lib&#x2F;broccoli&#x2F;ember-app.js:644</code></a></span>
2113
- <h3 class="">
2114
- private
2115
-
2116
-
2117
- shouldIncludeAddon(addon): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a>
2118
- </h3>
2119
- </div>
2120
-
2121
- <div class="inherited">
2122
- Inherited from <a href="../classes/EmberApp.html#method_shouldIncludeAddon" class="crosslink">EmberApp</a>
2123
- </div>
2124
-
2125
-
2126
- <div class="method-description">Returns whether an addon should be added to the project</div>
2127
-
2128
- <div class="params">
2129
- <h4>Parameters:</h4>
2130
- <table>
2131
- <thead>
2132
- <tr>
2133
- <th>Name</th>
2134
- <th>Type</th>
2135
- <th>Attribute</th>
2136
- <th>Description</th>
2137
- </tr>
2138
- </thead>
2139
- <tbody>
2140
- <tr>
2141
- <td>addon</td>
2142
- <td><a href="../classes/Addon.html" class="crosslink">Addon</a></td>
2143
- <td>
2144
- <ul>
2145
-
2146
-
2147
-
2148
- </ul>
2149
- </td>
2150
- <td> </td>
2151
- </tr>
2152
-
2153
- </tbody>
2154
- </table>
2155
- </div>
2156
-
2157
- <div class="return">
2158
- <h4>Return:</h4>
2159
- <div>
2160
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2161
- <span class="return-description"></span>
2162
- </div>
2163
- </div>
2164
-
2165
-
2166
- </div>
2167
- <div class="method item private">
2168
- <div id="method_toArray" class="title">
2169
- <span class="source-link"><a href="../files/lib_broccoli_ember-app.js.html#l1594"><code>lib&#x2F;broccoli&#x2F;ember-app.js:1594</code></a></span>
2170
- <h3 class="">
2171
- private
2172
-
2173
-
2174
- toArray( ): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a>
2175
- </h3>
2176
- </div>
2177
-
2178
- <div class="inherited">
2179
- Inherited from <a href="../classes/EmberApp.html#method_toArray" class="crosslink">EmberApp</a>
2180
- </div>
2181
-
2182
-
2183
- <div class="method-description">Returns an array of trees for this application</div>
2184
-
2185
-
2186
- <div class="return">
2187
- <h4>Return:</h4>
2188
- <div>
2189
- <span class="return-type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
2190
- <span class="return-description">An array of trees</span>
2191
- </div>
2192
- </div>
2193
-
2194
-
2195
- </div>
2196
- </div>
2197
-
2198
-
2199
- </div>
2200
- </div>
2201
- </div>
2202
- </div>
2203
- <script src="../assets/vendor/prettify/prettify-min.js"></script>
2204
- <script>prettyPrint();</script>
2205
- <script src="../assets/js/yui-prettify.js"></script>
2206
- </body>
2207
- </html>