We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
then
1 parent acbb306 commit 6adf576Copy full SHA for 6adf576
1 file changed
src/ember-app.js
@@ -242,9 +242,7 @@ class EmberApp {
242
.then(() => result.instanceBooted = true)
243
.then(() => instance.visit(path, bootOptions))
244
.then(() => waitForApp(instance))
245
- .then(() => {
246
- return instance;
247
- });
+ .then(() => instance);
248
}
249
250
/**
@@ -427,10 +425,7 @@ function buildBootOptions(shouldRender) {
427
425
*/
428
426
function waitForApp(instance) {
429
let fastbootInfo = instance.lookup('info:-fastboot');
430
-
431
- return fastbootInfo.deferredPromise.then(function() {
432
433
+ return fastbootInfo.deferredPromise;
434
435
436
/*
0 commit comments