mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-18 04:20:45 +03:00
Upgrade dependencies, update to react,react-dom 0.14
This commit is contained in:
parent
0a1458cdbd
commit
fb227a6c15
|
@ -43,9 +43,9 @@
|
||||||
"jsdom": "^6.5.1",
|
"jsdom": "^6.5.1",
|
||||||
"mocha": "^2.2.5",
|
"mocha": "^2.2.5",
|
||||||
"mocha-jsdom": "^1.0.0",
|
"mocha-jsdom": "^1.0.0",
|
||||||
"react": "^0.14.0-rc1",
|
"react": "^0.14.0",
|
||||||
"react-addons-test-utils": "^0.14.0-rc1",
|
"react-addons-test-utils": "^0.14.0-rc1",
|
||||||
"react-dom": "^0.14.0-rc1",
|
"react-dom": "^0.14.0",
|
||||||
"rimraf": "^2.3.4",
|
"rimraf": "^2.3.4",
|
||||||
"webpack": "^1.11.0"
|
"webpack": "^1.11.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { PropTypes, findDOMNode, Component } from 'react';
|
import React, { PropTypes, Component } from 'react';
|
||||||
import LogMonitorEntry from './LogMonitorEntry';
|
import LogMonitorEntry from './LogMonitorEntry';
|
||||||
import LogMonitorButton from './LogMonitorButton';
|
import LogMonitorButton from './LogMonitorButton';
|
||||||
import * as themes from './themes';
|
import * as themes from './themes';
|
||||||
|
@ -69,7 +69,7 @@ export default class LogMonitor extends Component {
|
||||||
};
|
};
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
const node = findDOMNode(this.refs.elements);
|
const node = this.refs.elements;
|
||||||
if (!node) {
|
if (!node) {
|
||||||
this.scrollDown = true;
|
this.scrollDown = true;
|
||||||
} else if (
|
} else if (
|
||||||
|
@ -86,7 +86,7 @@ export default class LogMonitor extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate() {
|
componentDidUpdate() {
|
||||||
const node = findDOMNode(this.refs.elements);
|
const node = this.refs.elements;
|
||||||
if (!node) {
|
if (!node) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user