|
8 | 8 | BindingLanguage,
|
9 | 9 | ViewEngine,
|
10 | 10 | ViewSlot,
|
11 |
| - ResourceRegistry, |
| 11 | + ViewResources, |
12 | 12 | CompositionEngine,
|
13 | 13 | Animator,
|
14 | 14 | DOMBoundary
|
@@ -77,26 +77,26 @@ function runTasks(aurelia, tasks){
|
77 | 77 | * @constructor
|
78 | 78 | * @param {Loader} loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use a defaultLoader.
|
79 | 79 | * @param {Container} container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty container.
|
80 |
| - * @param {ResourceRegistry} resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry. |
| 80 | + * @param {ViewResources} resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry. |
81 | 81 | */
|
82 | 82 | export class Aurelia {
|
83 | 83 | loader:Loader;
|
84 | 84 | container:Container;
|
85 |
| - resources:ResourceRegistry; |
| 85 | + resources:ViewResources; |
86 | 86 | use:Plugins;
|
87 | 87 |
|
88 |
| - constructor(loader?:Loader, container?:Container, resources?:ResourceRegistry){ |
| 88 | + constructor(loader?:Loader, container?:Container, resources?:ViewResources){ |
89 | 89 | this.resourcesToLoad = {};
|
90 | 90 | this.preStartTasks = [];
|
91 | 91 | this.postStartTasks = [];
|
92 | 92 | this.loader = loader || new window.AureliaLoader();
|
93 | 93 | this.container = container || new Container();
|
94 |
| - this.resources = resources || new ResourceRegistry(); |
| 94 | + this.resources = resources || new ViewResources(); |
95 | 95 | this.use = new Plugins(this);
|
96 | 96 |
|
97 | 97 | this.withInstance(Aurelia, this);
|
98 | 98 | this.withInstance(Loader, this.loader);
|
99 |
| - this.withInstance(ResourceRegistry, this.resources); |
| 99 | + this.withInstance(ViewResources, this.resources); |
100 | 100 |
|
101 | 101 | this.container.makeGlobal();
|
102 | 102 | }
|
|
0 commit comments