UNPKG

ember-copy

Version:

Ember addon to replace deprecated copy function and Copyable mixin

46 lines (25 loc) 1.12 kB
ember-copy ============================================================================== This addon supplies a copy() function and Copyable mixin to replace the function and mixin now being [deprecated](https://github.com/emberjs/rfcs/pull/322) in Ember.js. Compatibility ------------------------------------------------------------------------------ * Ember.js v3.16 or above * Ember CLI v2.13 or above * Node.js v10 or above Installation ------------------------------------------------------------------------------ ``` ember install ember-copy ``` Usage ------------------------------------------------------------------------------ To use the addon, wherever you were using: `import {copy, Copyable} from '@ember/object/internals'` instead use: `import {copy, Copyable} from 'ember-copy'` Contributing ------------------------------------------------------------------------------ See the [Contributing](CONTRIBUTING.md) guide for details. License ------------------------------------------------------------------------------ This project is licensed under the [MIT License](LICENSE.md).