vue-multi-picker
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -169,3 +169,3 @@ 'use strict'; | ||
return { | ||
period: Object.freeze(moment({ d: 1 })), | ||
period: moment({ d: 1 }), | ||
nextStart: null, | ||
@@ -197,6 +197,6 @@ nextEnd: null | ||
prev: function prev() { | ||
this.period = Object.freeze(this.period.clone().subtract(1, 'M')); | ||
this.period = this.period.clone().subtract(1, 'M'); | ||
}, | ||
next: function next() { | ||
this.period = Object.freeze(this.period.clone().add(1, 'M')); | ||
this.period = this.period.clone().add(1, 'M'); | ||
} | ||
@@ -226,3 +226,3 @@ }, | ||
return { | ||
period: Object.freeze(moment({ d: 1 })) | ||
period: moment({ d: 1 }) | ||
}; | ||
@@ -273,6 +273,6 @@ }, | ||
prev: function prev() { | ||
this.period = Object.freeze(this.period.clone().subtract(1, 'M')); | ||
this.period = this.period.clone().subtract(1, 'M'); | ||
}, | ||
next: function next() { | ||
this.period = Object.freeze(this.period.clone().add(1, 'M')); | ||
this.period = this.period.clone().add(1, 'M'); | ||
} | ||
@@ -300,3 +300,3 @@ } | ||
return { | ||
period: Object.freeze(moment({ M: 0, d: 1 })) | ||
period: moment({ M: 0, d: 1 }) | ||
}; | ||
@@ -334,6 +334,6 @@ }, | ||
prev: function prev() { | ||
this.period = Object.freeze(this.period.clone().subtract(1, 'y')); | ||
this.period = this.period.clone().subtract(1, 'y'); | ||
}, | ||
next: function next() { | ||
this.period = Object.freeze(this.period.clone().add(1, 'y')); | ||
this.period = this.period.clone().add(1, 'y'); | ||
} | ||
@@ -340,0 +340,0 @@ } |
{ | ||
"name": "vue-multi-picker", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A multi function date picker", | ||
@@ -5,0 +5,0 @@ "keywords": "datepicker weekpicker monthpicker", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28696