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 d9333cc commit 62b3699Copy full SHA for 62b3699
tests/helpers/start-app.js
@@ -3,10 +3,15 @@ import Application from '../../app';
3
import config from '../../config/environment';
4
5
export default function startApp(attrs) {
6
- let application;
+ let application, attributes;
7
8
// use defaults, but you can override
9
- let attributes = Ember.assign({}, config.APP, attrs);
+ if (Ember.assign) {
10
+ attributes = Ember.assign({}, config.APP, attrs);
11
+ } else {
12
+ attributes = Ember.merge({}, config.APP);
13
+ attributes = Ember.merge(attributes, attrs);
14
+ }
15
16
Ember.run(() => {
17
application = Application.create(attributes);
0 commit comments