react-daypicker
Advanced tools
Comparing version 3.0.9 to 3.0.10
@@ -24,4 +24,2 @@ "use strict"; | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } | ||
@@ -31,2 +29,4 @@ | ||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -50,3 +50,3 @@ | ||
_defineProperty(_assertThisInitialized(_this), "previousMonth", function () { | ||
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "previousMonth", function () { | ||
var _this$state = _this.state, | ||
@@ -62,3 +62,3 @@ month = _this$state.month, | ||
_defineProperty(_assertThisInitialized(_this), "nextMonth", function () { | ||
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "nextMonth", function () { | ||
var _this$state2 = _this.state, | ||
@@ -74,3 +74,3 @@ month = _this$state2.month, | ||
_defineProperty(_assertThisInitialized(_this), "onDayClick", function (day) { | ||
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "onDayClick", function (day) { | ||
return function () { | ||
@@ -83,3 +83,3 @@ if (day) { | ||
_defineProperty(_assertThisInitialized(_this), "renderDay", function (day, index) { | ||
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "renderDay", function (day, index) { | ||
var _this$state3 = _this.state, | ||
@@ -102,3 +102,3 @@ date = _this$state3.date, | ||
_defineProperty(_assertThisInitialized(_this), "renderWeek", function (days, index) { | ||
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "renderWeek", function (days, index) { | ||
var _this$state4 = _this.state, | ||
@@ -105,0 +105,0 @@ month = _this$state4.month, |
{ | ||
"name": "react-daypicker", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"description": "A simple datepicker inspired by Pikaday.", | ||
@@ -5,0 +5,0 @@ "main": "lib/DayPicker.js", |
67528