DEV: Remove use of assign polyfill (#140)
Context: https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign
This commit is contained in:
parent
8f79299b5b
commit
994e6b2d4e
|
|
@ -1,13 +1,12 @@
|
|||
import Application from "../../app";
|
||||
import config from "../../config/environment";
|
||||
import { assign } from "@ember/polyfills";
|
||||
import { run } from "@ember/runloop";
|
||||
|
||||
export default function startApp(attrs) {
|
||||
let application;
|
||||
|
||||
// use defaults, but you can override
|
||||
let attributes = assign({}, config.APP, attrs);
|
||||
let attributes = Object.assign({}, config.APP, attrs);
|
||||
|
||||
run(() => {
|
||||
application = Application.create(attributes);
|
||||
|
|
|
|||
Loading…
Reference in New Issue