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
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
@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.

None yet

2 participants