()
| 46 | } |
| 47 | |
| 48 | componentDidMount () { |
| 49 | let component = this.component; |
| 50 | Object.keys(component).forEach((key) => { |
| 51 | if (!this.hasOwnProperty(key)) { |
| 52 | let func = component[key]; |
| 53 | if (typeof func === 'function') { |
| 54 | this[key] = func; |
| 55 | } |
| 56 | } |
| 57 | }); |
| 58 | } |
| 59 | |
| 60 | componentWillReceiveProps (nextProps) { |
| 61 | if (!deepEqual(this.props.data, nextProps.data)) { |
nothing calls this directly
no outgoing calls
no test coverage detected