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.
revert: chore($resource): refactor confusing case statement
This reverts commit d50829b.
This commit introduces a regression that results in urls with
parameters being incorrectly generated. We need to investigate
further why this is happening, for now I'm just reverting.
Two problems: the refactor wasn't distinguishing properly between instance and class-level action calls, and it was setting fn arguments to undefined instead of removing them (so they would affect the arguments.length check when setting data and params).
But honestly, I don't think the refactor was much of a readability improvement.
1 commit comments
jeffbcross commentedon Jun 26, 2014
I have a fix in this commit: jeffbcross@6462b5b
Two problems: the refactor wasn't distinguishing properly between instance and class-level action calls, and it was setting fn arguments to undefined instead of removing them (so they would affect the arguments.length check when setting data and params).
But honestly, I don't think the refactor was much of a readability improvement.