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

feat(datepicker): move attribute support to options #5528

Closed
wants to merge 1 commit into from

Conversation

wesleycho
Copy link
Contributor

  • Move some attribute usage to datepickerOptions

This gets us most of the way with the second task in #5423

@@ -35,6 +35,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst

if (optionsUsed) {
[
'dateDisabled',
Copy link
Contributor

Choose a reason for hiding this comment

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

Does customClass not need to go here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, need to add it

- Move some attribute usage to datepickerOptions
@wesleycho wesleycho force-pushed the feat/datepicker-attrs branch from 2aa07a1 to 15f2b25 Compare February 24, 2016 17:49
@wesleycho
Copy link
Contributor Author

Added updates, updated unit tests to use options.

@deeg
Copy link
Contributor

deeg commented Feb 24, 2016

This LGTM

@wesleycho wesleycho closed this in d880aea Feb 24, 2016
@wesleycho wesleycho deleted the feat/datepicker-attrs branch February 24, 2016 18:55
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