react-timepicker
Advanced tools
Comparing version 1.1.1 to 1.1.2
Package.describe({ | ||
name: 'universe:react-timepicker', | ||
version: '1.1.1', | ||
version: '1.1.2', | ||
documentation: 'README.md', | ||
@@ -13,3 +13,3 @@ summary: 'React timepicker in Android KitKat style', | ||
api.use('react-runtime@0.14.1_1'); | ||
api.use('universe:modules@0.6.1', { weak: true }); | ||
api.use('universe:modules@0.6.7', { weak: true }); | ||
@@ -16,0 +16,0 @@ api.addFiles('timepicker.js'); |
@@ -7,3 +7,3 @@ { | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "React timepicker in Android KitKat style", | ||
@@ -10,0 +10,0 @@ |
@@ -15,16 +15,16 @@ 'use strict'; | ||
// propTypes: { | ||
// mode: React.PropTypes.bool, | ||
propTypes: { | ||
mode: React.PropTypes.bool, | ||
// size: React.PropTypes.number, | ||
// radius: React.PropTypes.number, | ||
size: React.PropTypes.number, | ||
radius: React.PropTypes.number, | ||
// hours: React.PropTypes.number, | ||
// minutes: React.PropTypes.number, | ||
hours: React.PropTypes.number, | ||
minutes: React.PropTypes.number, | ||
// militaryTime: React.PropTypes.bool, | ||
militaryTime: React.PropTypes.bool, | ||
// onChange: React.PropTypes.func, | ||
// onChangeMode: React.PropTypes.func | ||
// }, | ||
onChange: React.PropTypes.func, | ||
onChangeMode: React.PropTypes.func | ||
}, | ||
@@ -101,14 +101,14 @@ getDefaultProps: function () { | ||
Timepicker.Info = React.createClass({ | ||
displayName: 'Info', | ||
displayName: 'Timepicker.Info', | ||
// propTypes: { | ||
// mode: React.PropTypes.bool.isRequired, | ||
propTypes: { | ||
mode: React.PropTypes.bool.isRequired, | ||
// size: React.PropTypes.number.isRequired, | ||
size: React.PropTypes.number.isRequired, | ||
// hours: React.PropTypes.number.isRequired, | ||
// minutes: React.PropTypes.number.isRequired, | ||
hours: React.PropTypes.number.isRequired, | ||
minutes: React.PropTypes.number.isRequired, | ||
// onChangeMode: React.PropTypes.func | ||
// }, | ||
onChangeMode: React.PropTypes.func | ||
}, | ||
@@ -162,18 +162,18 @@ render: function () { | ||
Timepicker.Clock = React.createClass({ | ||
displayName: 'Clock', | ||
displayName: 'Timepicker.Clock', | ||
// propTypes: { | ||
// mode: React.PropTypes.bool.isRequired, | ||
propTypes: { | ||
mode: React.PropTypes.bool.isRequired, | ||
// size: React.PropTypes.number.isRequired, | ||
// radius: React.PropTypes.number.isRequired, | ||
size: React.PropTypes.number.isRequired, | ||
radius: React.PropTypes.number.isRequired, | ||
// hours: React.PropTypes.number.isRequired, | ||
// minutes: React.PropTypes.number.isRequired, | ||
hours: React.PropTypes.number.isRequired, | ||
minutes: React.PropTypes.number.isRequired, | ||
// militaryTime: React.PropTypes.bool.isRequired, | ||
militaryTime: React.PropTypes.bool.isRequired, | ||
// onChange: React.PropTypes.func, | ||
// onChangeMode: React.PropTypes.func | ||
// }, | ||
onChange: React.PropTypes.func, | ||
onChangeMode: React.PropTypes.func | ||
}, | ||
@@ -208,5 +208,3 @@ getInitialState: function () { | ||
}); | ||
} | ||
if (nextProps.militaryTime !== props.militaryTime) { | ||
} else if (nextProps.militaryTime !== props.militaryTime) { | ||
this.setState({ | ||
@@ -507,3 +505,5 @@ positionsHours: this.calculatePositionsHours() | ||
module.exports = Timepicker; | ||
} else if (typeof System !== 'undefined') { | ||
} | ||
if (typeof System !== 'undefined') { | ||
System.set( | ||
@@ -513,6 +513,10 @@ System.normalizeSync('{universe:react-timepicker}'), | ||
); | ||
} else if (typeof Meteor === 'object') { | ||
} | ||
if (typeof Meteor === 'object') { | ||
_TimePicker = TimePicker; | ||
} else if (typeof window === 'object') { | ||
} | ||
if (typeof window === 'object') { | ||
window.Timepicker = Timepicker; | ||
} |
Sorry, the diff of this file is not supported yet
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
496
37440