Skip to content

Commit

Permalink
remove useless options
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMazel committed Jan 4, 2019
1 parent 9e18c82 commit e55f5d9
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
:no-weekends-days="demo.options.noWeekendDays"
:no-shortcuts="demo.options.noShortcuts"
:no-button="demo.options.noButton"
:shortcuts-translations="demo.options.shortcutsTranslations"
:button-now-translation="demo.options.buttonNowTranslation"
:no-button-now="demo.options.noButtonNow"
:locale="demo.options.locale"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
dark: { type: Boolean, default: false },
dateTime: {type: Object, default: Object},
customShortcuts: { type: Array, default: Array },
shortcutsTranslations: {type: Object, default: Object},
height: { type: Number, default: Number, required: true }
},
data () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
ref="range-shortcuts"
:color="color"
:dark="dark"
:shortcuts-translations="shortcutsTranslations"
:custom-shortcuts="customShortcuts"
:height="height"
@change-range="$emit('input', $event)"
Expand Down Expand Up @@ -182,7 +181,6 @@
dark: {type: Boolean, default: false},
month: {type: Object, default: Object},
height: { type: Number, default: Number },
shortcutsTranslations: { type: Object, default: Object },
noShortcuts: { type: Boolean, default: Boolean },
firstDayOfWeek: { type: Number, default: Number },
customShortcuts: { type: Array, default: Array }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
visible (val) {
if (val) {
this.columnPad()
this.initPositionView()
}
},
value (value) {
Expand Down
2 changes: 0 additions & 2 deletions src/VueCtkDateTimePicker/_subs/PickersContainer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
:month="month"
:inline="inline"
:no-weekends-days="noWeekendsDays"
:shortcuts-translations="shortcutsTranslations"
:color="color"
:min-date="minDate"
:max-date="maxDate"
Expand Down Expand Up @@ -114,7 +113,6 @@
disabledDates: { type: Array, default: Array },
disabledHours: { type: Array, default: Array },
range: { type: Boolean, default: Boolean },
shortcutsTranslations: { type: Object, default: Object },
noShortcuts: { type: Boolean, default: Boolean },
buttonColor: { type: String, default: String },
buttonNowTranslation: { type: String, default: String },
Expand Down
2 changes: 0 additions & 2 deletions src/VueCtkDateTimePicker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
:range="range"
:disabled-dates="disabledDates"
:disabled-hours="disabledHours"
:shortcuts-translations="shortcutsTranslations"
:no-shortcuts="noShortcuts"
:button-now-translation="buttonNowTranslation"
:no-button-now="noButtonNow"
Expand Down Expand Up @@ -132,7 +131,6 @@
noWeekendsDays: { type: Boolean, default: false },
noShortcuts: { type: Boolean, default: false },
noButton: { type: Boolean, default: false },
shortcutsTranslations: { type: Object, default: Object },
disabledDates: { type: Array, default: Array },
disabledHours: {type: Array, default: Array},
open: { type: Boolean, default: false },
Expand Down

0 comments on commit e55f5d9

Please sign in to comment.