Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

feat(datepicker): add deprecation notices #5415

Closed

Conversation

wesleycho
Copy link
Contributor

  • Add deprecation notices for datepicker & popup

datepickerPopupConfig.altInputFormats;
} else {
if (datepickerPopupAttributeWarning) {
$log.warn('uib-datepicker-popup attributes deprecated and will be removed in UI Bootstrap 1.3, use datepicker-options attribute instead');
Copy link
Contributor

Choose a reason for hiding this comment

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

This sentence needs a word. Perhaps attributes are deprecated and ....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops - will fix that quick before merging.

@Foxandxss
Copy link
Contributor

this LGTM, bugs will arose for sure but we will fix them before 1.3

Also, this needs a massive doc update (to reflect how to use the directive right now with some deprecation notice).

I will create a doc PR once we merge this.

@Foxandxss
Copy link
Contributor

Ah, also the demo needs to be updated. That can be done in another PR or here.

@wesleycho wesleycho force-pushed the feat/datepicker-deprecation branch from 5a2809f to 94bec7a Compare February 5, 2016 13:35
@wesleycho
Copy link
Contributor Author

Let's get this in - I actually wanted to do more in this PR, but this alone turned out to be a lot of work.

- Add deprecation notices for datepicker & popup
@wesleycho wesleycho force-pushed the feat/datepicker-deprecation branch from 94bec7a to a97b364 Compare February 5, 2016 22:40
@Foxandxss
Copy link
Contributor

Merge it. I will do the rest.

@wesleycho wesleycho closed this in 10eac7c Feb 6, 2016
@wesleycho wesleycho deleted the feat/datepicker-deprecation branch February 6, 2016 00:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants