You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The call to angular.copy() passing a typed array as parameter throws exception: length method called on incompatible Object at isArrayLike.
Using Firefox 33 on Linux
Thanks for the support
The text was updated successfully, but these errors were encountered:
So, this is not really the isArrayLike that is at fault here but rather copy that doesn't recognise "special" typed arrays and treats them as any other object.
The real question here is this: do we want to support Float32Array and friends with copy. My take would be that no but I would be interested to hear more about your real-life use case @digitalillusion
pkozlowski-opensource
changed the title
isArrayLike not working with typed arrays
angular.copy doesn't work with typed arrays
Nov 25, 2014
Hello, please consider the following plunker:
http://plnkr.co/edit/AgjiBp2YtFKt8VfqBosT?p=preview
The call to angular.copy() passing a typed array as parameter throws exception: length method called on incompatible Object at isArrayLike.
Using Firefox 33 on Linux
Thanks for the support
The text was updated successfully, but these errors were encountered: