fix #1 React.createClass is deprecated
This commit is contained in:
parent
e05eb35a64
commit
14d48c7558
|
@ -1,5 +1,6 @@
|
|||
import React, { PropTypes } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import createReactClass from 'create-react-class';
|
||||
import align from 'dom-align';
|
||||
import addEventListener from './addEventListener';
|
||||
//import isWindow from './isWindow';
|
||||
|
|
|
@ -10,6 +10,10 @@ var _reactDom = require('react-dom');
|
|||
|
||||
var _reactDom2 = _interopRequireDefault(_reactDom);
|
||||
|
||||
var _createReactClass = require('create-react-class');
|
||||
|
||||
var _createReactClass2 = _interopRequireDefault(_createReactClass);
|
||||
|
||||
var _domAlign = require('dom-align');
|
||||
|
||||
var _domAlign2 = _interopRequireDefault(_domAlign);
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"dependencies": {
|
||||
"add-dom-event-listener": "^1.0.1",
|
||||
"component-classes": "^1.2.6",
|
||||
"create-react-class": "^15.5.3",
|
||||
"dom-align": "^1.5.2",
|
||||
"warning": "^3.0.0"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue