Skip to content

Commit

Permalink
Merge pull request #19647 from nlfurniss/remove-ember-merge-2
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Jul 18, 2021
2 parents dd89193 + 4255bf0 commit 7780b26
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 88 deletions.
1 change: 0 additions & 1 deletion packages/@ember/deprecated-features/index.ts
Expand Up @@ -5,7 +5,6 @@

export const SEND_ACTION = !!'3.4.0';
export const EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';
export const MERGE = !!'3.6.0-beta.1';
export const ROUTER_EVENTS = !!'4.0.0';
export const COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';
export const JQUERY_INTEGRATION = !!'3.9.0';
Expand Down
6 changes: 0 additions & 6 deletions packages/@ember/polyfills/index.ts
@@ -1,10 +1,4 @@
import { MERGE } from '@ember/deprecated-features';
import { default as deprecatedMerge } from './lib/merge';

let merge = MERGE ? deprecatedMerge : undefined;

// Export `assignPolyfill` for testing
export { default as assign, assign as assignPolyfill } from './lib/assign';
export { merge };

export const hasPropertyAccessors = true;
56 changes: 0 additions & 56 deletions packages/@ember/polyfills/lib/merge.ts

This file was deleted.

21 changes: 0 additions & 21 deletions packages/@ember/polyfills/tests/merge_test.js

This file was deleted.

3 changes: 1 addition & 2 deletions packages/ember/index.js
Expand Up @@ -98,7 +98,7 @@ import Resolver from '@ember/application/globals-resolver';
import ApplicationInstance from '@ember/application/instance';
import Engine from '@ember/engine';
import EngineInstance from '@ember/engine/instance';
import { assign, merge } from '@ember/polyfills';
import { assign } from '@ember/polyfills';
import { EMBER_EXTEND_PROTOTYPES, JQUERY_INTEGRATION } from '@ember/deprecated-features';

import {
Expand Down Expand Up @@ -211,7 +211,6 @@ Ember.EngineInstance = EngineInstance;

// ****@ember/polyfills****
Ember.assign = assign;
Ember.merge = merge;

// ****@ember/-internals/utils****
Ember.generateGuid = utils.generateGuid;
Expand Down
1 change: 0 additions & 1 deletion packages/ember/tests/reexports_test.js
Expand Up @@ -368,7 +368,6 @@ let allExports = [
// @ember/polyfills
['assign', '@ember/polyfills', 'assign'],
['platform.hasPropertyAccessors', '@ember/polyfills', 'hasPropertyAccessors'],
['merge', '@ember/polyfills', 'merge'],

// @ember/routing/auto-location
['AutoLocation', '@ember/routing/auto-location', 'default'],
Expand Down
1 change: 0 additions & 1 deletion tests/docs/expected.js
Expand Up @@ -364,7 +364,6 @@ module.exports = {
'match',
'matches',
'max',
'merge',
'mergedProperties',
'meta',
'metadata',
Expand Down

0 comments on commit 7780b26

Please sign in to comment.