An open API service indexing awesome lists of open source software.

https://github.com/emberjs/ember-copy


https://github.com/emberjs/ember-copy

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

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).