Skip to content

Commit

Permalink
fix: Use assign() from @ember/polyfills for IE11 (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Radchenko <[email protected]>
  • Loading branch information
raido and knownasilya authored Oct 6, 2020
1 parent d4ea9bb commit 48a5fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/services/page-title-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Service, { inject as service } from '@ember/service';
import { set, computed } from '@ember/object';
import { capitalize } from '@ember/string';
import { isPresent } from '@ember/utils';
import { assign } from '@ember/polyfills';
import { assert } from '@ember/debug';

let isFastBoot = typeof FastBoot !== 'undefined';
Expand Down Expand Up @@ -180,7 +181,7 @@ export default class PageTitleListService extends Service {
}
let lastToken = group[0];
if (lastToken) {
token = Object.assign({}, token);
token = assign({}, token);
token.separator = lastToken.separator;
}
group.unshift(token);
Expand Down

0 comments on commit 48a5fa5

Please sign in to comment.