1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

minor fixes

This commit is contained in:
Tim Daubenschütz 2015-06-05 11:32:10 +02:00
parent f987bce7cc
commit 18a2806fb1
3 changed files with 5 additions and 3 deletions

View File

@ -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
},

View File

@ -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() {

View File

@ -44,7 +44,6 @@ let InjectInHeadMixin = {
},
inject(src) {
//debugger;
let ext = src.split('.').pop();
try {
let tag = mapAttr(src);