Skip to content

Commit

Permalink
Version 2.8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
simeg committed Jul 27, 2017
1 parent a50b2e9 commit eb8710a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 41 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Changelog
=========
## 2.8.11
* Update TypeScript definitions
* Replace deprecated React method with non-deprecated method

## 2.8.10
* Increase click area of arrows for changing day/month/year
* Update code according to React 15.5.0
* Remove usage of React.createClass
* Use separate module for PropTypes
* Use separate module for PropTypes

## 2.8.9
* Fixes issue where incorrect current month is shown
Expand Down
69 changes: 33 additions & 36 deletions dist/react-datetime.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
react-datetime v2.8.10
react-datetime v2.8.11
https://github.com/YouCanBookMe/react-datetime
MIT: https://github.com/YouCanBookMe/react-datetime/raw/master/LICENSE
*/
Expand Down Expand Up @@ -1423,45 +1423,43 @@ return /******/ (function(modules) { // webpackBootstrap
var warning = emptyFunction;

if (process.env.NODE_ENV !== 'production') {
(function () {
var printWarning = function printWarning(format) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}

var argIndex = 0;
var message = 'Warning: ' + format.replace(/%s/g, function () {
return args[argIndex++];
});
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
};
var printWarning = function printWarning(format) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}

warning = function warning(condition, format) {
if (format === undefined) {
throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
}
var argIndex = 0;
var message = 'Warning: ' + format.replace(/%s/g, function () {
return args[argIndex++];
});
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
};

if (format.indexOf('Failed Composite propType: ') === 0) {
return; // Ignore CompositeComponent proptype check.
}
warning = function warning(condition, format) {
if (format === undefined) {
throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
}

if (!condition) {
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
args[_key2 - 2] = arguments[_key2];
}
if (format.indexOf('Failed Composite propType: ') === 0) {
return; // Ignore CompositeComponent proptype check.
}

printWarning.apply(undefined, [format].concat(args));
if (!condition) {
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
args[_key2 - 2] = arguments[_key2];
}
};
})();

printWarning.apply(undefined, [format].concat(args));
}
};
}

module.exports = warning;
Expand Down Expand Up @@ -3291,7 +3289,6 @@ return /******/ (function(modules) { // webpackBootstrap
onClickOutside = __webpack_require__(19)
;


var DateTimePickerYears = onClickOutside( createClass({
render: function() {
var year = parseInt( this.props.viewDate.year() / 10, 10 ) * 10;
Expand Down
4 changes: 2 additions & 2 deletions dist/react-datetime.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-datetime.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-datetime",
"version": "2.8.10",
"version": "2.8.11",
"description": "A lightweight but complete datetime picker React.js component.",
"homepage": "https://github.com/YouCanBookMe/react-datetime",
"repository": {
Expand Down

0 comments on commit eb8710a

Please sign in to comment.