From fb227a6c1527d80dc14dbf4a23ade898491fe56e Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 12 Oct 2015 14:05:45 -0500 Subject: [PATCH] Upgrade dependencies, update to react,react-dom 0.14 --- package.json | 4 ++-- src/react/LogMonitor.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 78e6459f..8ca5da40 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,9 @@ "jsdom": "^6.5.1", "mocha": "^2.2.5", "mocha-jsdom": "^1.0.0", - "react": "^0.14.0-rc1", + "react": "^0.14.0", "react-addons-test-utils": "^0.14.0-rc1", - "react-dom": "^0.14.0-rc1", + "react-dom": "^0.14.0", "rimraf": "^2.3.4", "webpack": "^1.11.0" }, diff --git a/src/react/LogMonitor.js b/src/react/LogMonitor.js index c9839de5..b6f38063 100644 --- a/src/react/LogMonitor.js +++ b/src/react/LogMonitor.js @@ -1,4 +1,4 @@ -import React, { PropTypes, findDOMNode, Component } from 'react'; +import React, { PropTypes, Component } from 'react'; import LogMonitorEntry from './LogMonitorEntry'; import LogMonitorButton from './LogMonitorButton'; import * as themes from './themes'; @@ -69,7 +69,7 @@ export default class LogMonitor extends Component { }; componentWillReceiveProps(nextProps) { - const node = findDOMNode(this.refs.elements); + const node = this.refs.elements; if (!node) { this.scrollDown = true; } else if ( @@ -86,7 +86,7 @@ export default class LogMonitor extends Component { } componentDidUpdate() { - const node = findDOMNode(this.refs.elements); + const node = this.refs.elements; if (!node) { return; }