DEV: Remove use of assign polyfill (#140)

Context: https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign
This commit is contained in:
Isaac Janzen 2022-05-05 06:49:58 -05:00 committed by GitHub
parent 8f79299b5b
commit 994e6b2d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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);