From fa0bab5c599175e3a64ecce96f018925fa8ff627 Mon Sep 17 00:00:00 2001 From: scottlepp Date: Sun, 12 Mar 2017 15:34:00 -0400 Subject: [PATCH] generate the dist bundle with new updates --- bundles/ng-daterangepicker.umd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/ng-daterangepicker.umd.js b/bundles/ng-daterangepicker.umd.js index 54052db..10cdb30 100644 --- a/bundles/ng-daterangepicker.umd.js +++ b/bundles/ng-daterangepicker.umd.js @@ -141,12 +141,12 @@ var NgDateRangePickerComponent = (function () { NgDateRangePickerComponent.prototype.ngOnInit = function () { this.opened = false; this.date = __WEBPACK_IMPORTED_MODULE_2_date_fns__["startOfDay"](new Date()); - this.options = this.options || { theme: 'default' }; + this.options = this.options || { theme: 'default', range: 'tm' }; this.initNames(); - this.selectRange('tw'); + this.selectRange(this.options.range); }; NgDateRangePickerComponent.prototype.ngOnChanges = function (changes) { - this.options = this.options || { theme: 'default' }; + this.options = this.options || { theme: 'default', range: 'tm' }; }; NgDateRangePickerComponent.prototype.initNames = function () { this.dayNames = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];