Skip to content

Commit faabae6

Browse files
committed
Update for React v0.14.0-rc1
1 parent 2e9bcde commit faabae6

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"author": "Stephen J. Collings <stevoland@gmail.com>",
4343
"license": "MIT",
4444
"peerDependencies": {
45-
"react": ">=0.14.0-beta3",
46-
"react-dom": ">=0.14.0-beta3"
45+
"react": ">=0.14.0-rc1",
46+
"react-dom": ">=0.14.0-rc1"
4747
},
4848
"devDependencies": {
4949
"babel": "^5.8.19",
@@ -96,9 +96,9 @@
9696
"output-file-sync": "^1.1.1",
9797
"phantomjs": "^1.9.17",
9898
"portfinder": "^0.4.0",
99-
"react": "^0.14.0-beta3",
99+
"react": "^0.14.0-rc1",
100100
"react-component-metadata": "^1.3.0",
101-
"react-dom": "^0.14.0-beta3",
101+
"react-dom": "^0.14.0-rc1",
102102
"react-hot-loader": "^1.2.8",
103103
"react-router": "^1.0.0-beta3",
104104
"rimraf": "^2.4.2",
@@ -117,7 +117,7 @@
117117
"dom-helpers": "^2.2.4",
118118
"keycode": "^2.0.0",
119119
"lodash": "^3.10.0",
120-
"react-overlays": "^0.50.0-alpha3",
120+
"react-overlays": "^0.50.0-alpha4",
121121
"uncontrollable": "^3.1.1",
122122
"warning": "^2.0.0"
123123
}

test/ModalSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ describe('Modal', function () {
196196
it('Should use dialogComponent', function () {
197197
let noOp = function () {};
198198

199-
class CustomDialog {
199+
class CustomDialog extends React.Component {
200200
render() { return <div {...this.props}/>; }
201201
}
202202

test/PanelGroupSpec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import ReactTestUtils from 'react/lib/ReactTestUtils';
3-
import ReactDOM from 'react-dom';
43

54
import Panel from '../src/Panel';
65
import PanelGroup from '../src/PanelGroup';
@@ -98,11 +97,5 @@ describe('PanelGroup', function () {
9897
assert.equal(panelBodies[0].getAttribute('aria-hidden'), 'false');
9998
assert.equal(panelBodies[1].getAttribute('aria-hidden'), 'true');
10099
});
101-
102-
afterEach(function() {
103-
if (instance && ReactTestUtils.isCompositeComponent(instance) && instance.isMounted()) {
104-
ReactDOM.unmountComponentAtNode(ReactDOM.findDOMNode(instance));
105-
}
106-
});
107100
});
108101
});

0 commit comments

Comments
 (0)