mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
minor fixes
This commit is contained in:
parent
f987bce7cc
commit
18a2806fb1
@ -15,7 +15,7 @@ let Table = React.createClass({
|
||||
orderBy: React.PropTypes.string,
|
||||
orderAsc: React.PropTypes.bool,
|
||||
className: React.PropTypes.string,
|
||||
children: React.PropTypes.object,
|
||||
children: React.PropTypes.array,
|
||||
itemList: React.PropTypes.array
|
||||
},
|
||||
|
||||
|
@ -97,7 +97,10 @@ let EditionDetails = React.createClass({
|
||||
let EditionDetailProperty = React.createClass({
|
||||
propTypes: {
|
||||
label: React.PropTypes.string,
|
||||
value: React.PropTypes.string
|
||||
value: React.PropTypes.oneOfType([
|
||||
React.PropTypes.string,
|
||||
React.PropTypes.element
|
||||
])
|
||||
},
|
||||
|
||||
render() {
|
||||
|
@ -44,7 +44,6 @@ let InjectInHeadMixin = {
|
||||
},
|
||||
|
||||
inject(src) {
|
||||
//debugger;
|
||||
let ext = src.split('.').pop();
|
||||
try {
|
||||
let tag = mapAttr(src);
|
||||
|
Loading…
Reference in New Issue
Block a user