blob: 9bb0752a92048c254e2c385c41842e3021aba20d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
"use strict";
function componentWillReceiveProps(nextProps) {
console.log("start");
var selectedSource = nextProps.selectedSource;
if (
nextProps.startPanelSize !== this.props.startPanelSize ||
nextProps.endPanelSize !== this.props.endPanelSize
) {
this.state.editor.codeMirror.setSize();
}
console.log("done");
}
//# sourceMappingURL=if.out.js.map
|