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
That line is causing issues for a project I'm working on, because we need this.target to retain its properties that it inherits through prototype, but they're being lost by that one line.
Is there a reason why you're cloning it?
Here's some pics of the problem:
Here I'm highlighting the object we want as this.target in the validation:
But then over here, because of the clone that __proto__ information gets lost and this.target is no longer the same object.
Is there a reason why you decided to do that clone there?
The text was updated successfully, but these errors were encountered:
https://github.com/tgriesser/checkit/blame/master/core.js#L121
That line is causing issues for a project I'm working on, because we need
this.target
to retain its properties that it inherits through prototype, but they're being lost by that one line.Is there a reason why you're cloning it?
Here's some pics of the problem:
Here I'm highlighting the object we want as
this.target
in the validation:But then over here, because of the clone that
__proto__
information gets lost andthis.target
is no longer the same object.Is there a reason why you decided to do that clone there?
The text was updated successfully, but these errors were encountered: