diff --git a/js/components/ascribe_table/table.js b/js/components/ascribe_table/table.js index 6a8f0c93..44ba5d61 100644 --- a/js/components/ascribe_table/table.js +++ b/js/components/ascribe_table/table.js @@ -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 }, diff --git a/js/components/edition.js b/js/components/edition.js index ebd0f176..9094e20b 100644 --- a/js/components/edition.js +++ b/js/components/edition.js @@ -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() { diff --git a/js/mixins/inject_in_head_mixin.js b/js/mixins/inject_in_head_mixin.js index f88fa035..42e3b6dc 100644 --- a/js/mixins/inject_in_head_mixin.js +++ b/js/mixins/inject_in_head_mixin.js @@ -44,7 +44,6 @@ let InjectInHeadMixin = { }, inject(src) { - //debugger; let ext = src.split('.').pop(); try { let tag = mapAttr(src);