Skip to content

Commit 741fa22

Browse files
committed
fix(aurelia): resolve promise in Aurelia.enhance
closes #480
1 parent a2af342 commit 741fa22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/aurelia.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class Aurelia {
107107
this.root = engine.enhance({container: this.container, element: this.host, resources: this.resources, bindingContext: bindingContext});
108108
this.root.attached();
109109
this._onAureliaComposed();
110-
return this;
110+
resolve(this);
111111
});
112112
}
113113

0 commit comments

Comments
 (0)