-
Notifications
You must be signed in to change notification settings - Fork 13
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
Functions aren't getting overridden? #6
Comments
Hmm, I agree that doesn't seem right. I'll take a look, thanks |
I think this is the offending code, https://github.com/jonschlinkert/assign-deep/blob/master/index.js#L43. But I can't remember why it's done that way. |
Yeah, it only seems to work when Btw if I use |
I can't think of a reason that it should work the way it does, but I haven't had a chance to review the unit tests. I plan to push up a fix |
I have worked for it and it still WIP. If you like to see: https://github.com/Tommy-White/deeplyAssign |
@jonschlinkert |
I have some function definitions specified in objects and would like them to get overridden when objects are being combined using assign-deep, but it seems to work for all object keys except those referring to function definitions.
The text was updated successfully, but these errors were encountered: