hjdivad / ember-copy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-copy

This addon supplies a copy() function and Copyable mixin to replace the function and mixin now being deprecated in Ember.js.

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

Installation

  • git clone https://github.com/emberjs/ember-copy
  • cd ember-copy
  • npm install

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

About

License:MIT License


Languages

Language:JavaScript 82.8%Language:HTML 17.2%