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.
2 parents 34e7c0b + 1ceb241 commit c3a8c83Copy full SHA for c3a8c83
src/ember-app.js
@@ -2,7 +2,6 @@
2
3
const fs = require('fs');
4
const path = require('path');
5
-const RSVP = require('rsvp');
6
const chalk = require('chalk');
7
8
const najax = require('najax');
@@ -433,7 +432,7 @@ function waitForApp(instance) {
433
432
*/
434
function createShoebox(doc, fastbootInfo) {
435
let shoebox = fastbootInfo.shoebox;
436
- if (!shoebox) { return RSVP.resolve(); }
+ if (!shoebox) { return; }
437
438
for (let key in shoebox) {
439
if (!shoebox.hasOwnProperty(key)) { continue; }
@@ -450,8 +449,6 @@ function createShoebox(doc, fastbootInfo) {
450
449
scriptEl.appendChild(scriptText);
451
doc.body.appendChild(scriptEl);
452
}
453
-
454
- return RSVP.resolve();
455
456
457
const JSON_ESCAPE = {
0 commit comments