Fixing most deprication warnings

Этот коммит содержится в:
Christopher Speller
2015-10-15 12:07:06 -04:00
родитель fda7a99e8c
Коммит 1571a9a2df
79 изменённых файлов: 422 добавлений и 376 удалений

Просмотреть файл

@@ -86,7 +86,7 @@ export default class FileUpload extends React.Component {
}
handleChange() {
var element = $(React.findDOMNode(this.refs.fileInput));
var element = $(ReactDOM.findDOMNode(this.refs.fileInput));
this.uploadFiles(element.prop('files'));
@@ -115,7 +115,7 @@ export default class FileUpload extends React.Component {
}
componentDidMount() {
var inputDiv = React.findDOMNode(this.refs.input);
var inputDiv = ReactDOM.findDOMNode(this.refs.input);
var self = this;
if (this.props.postType === 'post') {