-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deep cloning stackoverflow #3421
Comments
can i ask you a fiddle? fabric.util.object.extend extends js objects, like |
@asturur i dont understand why this dont reproduce in fiddle |
Can we replicate with some code?
On kitchensink with 1.6.7 i can clone objects and restore from json objects with shadows with no problem. Where are you using the clone function in the code provided? |
Can you just replicate a situation in wich calling extend or clone is gonna fail? |
i need to see what is inside |
ok i can stop you now. |
i add hasOwnProperty in "for in" to "fix" this |
fix the error but is gonna change the function result. |
if object have shadow, fabric.util.object.extend call stackpverflow error
#3262
Version
1.6.7
The text was updated successfully, but these errors were encountered: