Use Camel-Case
This commit is contained in:
parent
ec1ea55536
commit
b2f632d34a
@ -184,11 +184,11 @@ class ConfigEditor extends React.Component {
|
|||||||
|
|
||||||
openDiff(cbName) {
|
openDiff(cbName) {
|
||||||
this.diffcb = cbName;
|
this.diffcb = cbName;
|
||||||
let leftvalue = this.monacoEditor.getValue();
|
let leftValue = this.monacoEditor.getValue();
|
||||||
let rightvalue = this.codeVal || '';
|
let rightValue = this.codeVal || '';
|
||||||
leftvalue = leftvalue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
|
leftValue = leftValue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
|
||||||
rightvalue = rightvalue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
|
rightValue = rightValue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
|
||||||
this.diffEditorDialog.current.getInstance().openDialog(leftvalue, rightvalue);
|
this.diffEditorDialog.current.getInstance().openDialog(leftValue, rightValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
clickTab(tabActiveKey) {
|
clickTab(tabActiveKey) {
|
||||||
|
Loading…
Reference in New Issue
Block a user