rc-calendar
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -174,3 +174,19 @@ /** @jsx React.DOM */ | ||
var props = this.props; | ||
// var input = React.Children.only(props.children); bug 0.13.0 | ||
/* | ||
children: Object | ||
.0: (...) | ||
get .0: function () { | ||
set .0: function (value) { | ||
_reactDidWarn: false | ||
_reactFragment: Object | ||
__proto__: Object | ||
*/ | ||
var input = props.children; | ||
if (!React.isValidElement(input)) { | ||
var children = input; | ||
React.Children.forEach(children, (m)=> { | ||
input = m; | ||
}); | ||
} | ||
var state = this.state; | ||
@@ -177,0 +193,0 @@ var value = state.value; |
{ | ||
"name": "rc-calendar", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "calendar ui component for react", | ||
@@ -28,4 +28,5 @@ "keywords": [ | ||
"scripts": { | ||
"example": "webpack -d && rc-tools run jsx2html", | ||
"build": "rc-tools run build", | ||
"less": "rc-tools run less", | ||
"gh-pages": "rc-tools run gh-pages", | ||
"history": "rc-tools run history", | ||
@@ -43,13 +44,7 @@ "start": "node --harmony node_modules/.bin/rc-server", | ||
"bootstrap": "~3.3.2", | ||
"css-loader": "^0.9.1", | ||
"expect.js": "~0.3.1", | ||
"file-loader": "^0.8.1", | ||
"jsx-loader": "^0.12.2", | ||
"precommit-hook": "^1.0.7", | ||
"rc-server": "^2.0.0", | ||
"rc-tools": "^1.1.0", | ||
"react": "^0.13.0", | ||
"style-loader": "^0.8.3", | ||
"url-loader": "^0.5.5", | ||
"webpack": "~1.5.3" | ||
"rc-tools": "2.x", | ||
"react": "^0.13.0" | ||
}, | ||
@@ -56,0 +51,0 @@ "precommit": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7
127199
52
3073