Copyable

Ember.Copyable Class

PRIVATE

Defined in: packages/ember-runtime/lib/mixins/copyable.js:14

Module: ember-runtime

Implements some standard methods for copying an object. Add this mixin to any object you create that can create a copy of itself. This mixin is added automatically to the built-in array.

You should generally implement the copy() method to return a copy of the receiver.

Note that frozenCopy() will only work if you also implement Ember.Freezable.

copy (deep) Object登录查看完整内容