Skip to content
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

deprecate pre-2.0 add/subtract #1763

Merged
merged 18 commits into from
Jul 14, 2014
Merged

Conversation

icambron
Copy link
Member

@icambron icambron commented Jul 6, 2014

Fix for #1729:

  • DRY for add/subtract
  • Deprecate old arg ordering
  • Fix internal uses and test uses (except, of course, ones specifically testing add/subtract)
  • Renamed tests so that "reversed" now means the opposite

@icambron
Copy link
Member Author

icambron commented Jul 6, 2014

Looks like I'll need to rebase. I'll do that after I get some feedback.

@@ -487,7 +497,23 @@
return res;
}

// helper function for _.addTime and _.subtractTime
//todo: remove 'name' arg after deprecation is removed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// TODO: something

@ichernev
Copy link
Contributor

ichernev commented Jul 8, 2014

Pretty good, I would have done the same. Great job with fixing all the internal uses and renaming the tests. Reverse reverse args for the win :)

You can merge after the rebase.

ichernev and others added 5 commits July 8, 2014 01:05
Change duration.toIsoString to duration.toISOString

@changelog
@section deprecation
@description rename duration.toIsoString to duration.toISOString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants