We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf0dfc commit 9b37c84Copy full SHA for 9b37c84
1 file changed
src/plugins.js
@@ -26,6 +26,7 @@ export class Plugins {
26
constructor(aurelia){
27
this.aurelia = aurelia;
28
this.info = [];
29
+ this.hasProcessed = false;
30
}
31
32
install(moduleId, config){
@@ -38,7 +39,13 @@ export class Plugins {
38
39
aurelia = this.aurelia,
40
loader = aurelia.loader,
41
info = this.info,
- i, ii, current, result;
42
+ i, ii;
43
+
44
+ if(this.hasProcessed){
45
+ return Promise.resolve();
46
+ }
47
48
+ this.hasProcessed = true;
49
50
for(i = 0, ii = info.length; i < ii; ++i){
51
toLoad.push(loadPlugin(aurelia, loader, info[i]));
0 commit comments