Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attributeBindings is frozen, slice it before push (#59)
As noted in the Ember v2.11 release notes, concatenated properties such as attributeBindings are frozen in debug builds. This means we cannot push directly onto the attributeBindings array without first copying it via slice. Without this change, users may see errors like this when the `attributeBindings.push()` call is made: Uncaught TypeError: Can't add property 2, object is not extensible References: emberjs/ember.js#14389 emberjs/ember.js#14601
- Loading branch information