Closed cheapsteak closed 8 years ago
:+1: We can use object-assign for this.
pushed fix to master along with new test would adding a dependency justify bumping a minor version or should it just be a patch?
Just a patch since the API didn't change and there are no new features added
Problem:
The first promise never resolves because the onComplete is overwritten by the second call
This would be solved if the object is shallow cloned before having options added on by the library
Current workaround
Defensively clone everything passed into gsap-promise