mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Remove extra spaces
This commit is contained in:
parent
f31ff6d728
commit
040d598d67
|
@ -206,7 +206,7 @@ export default function getApp(theState) {
|
||||||
};
|
};
|
||||||
|
|
||||||
let messageHtml = err ? errToHtmlMessage(err) : '';
|
let messageHtml = err ? errToHtmlMessage(err) : '';
|
||||||
|
|
||||||
const warningHtml = warns
|
const warningHtml = warns
|
||||||
.filter((w) => w)
|
.filter((w) => w)
|
||||||
.map(
|
.map(
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default function getExcEditor(theState) {
|
||||||
return class ExcEditor extends Component {
|
return class ExcEditor extends Component {
|
||||||
|
|
||||||
modsToOpts(pacMods) {
|
modsToOpts(pacMods) {
|
||||||
|
|
||||||
return Object.keys(pacMods.exceptions || {}).sort().map(
|
return Object.keys(pacMods.exceptions || {}).sort().map(
|
||||||
(excHost) => [excHost, pacMods.exceptions[excHost]]
|
(excHost) => [excHost, pacMods.exceptions[excHost]]
|
||||||
);
|
);
|
||||||
|
@ -100,7 +100,7 @@ export default function getExcEditor(theState) {
|
||||||
},
|
},
|
||||||
{}),
|
{}),
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
isHostValid(host) {
|
isHostValid(host) {
|
||||||
|
|
|
@ -41,7 +41,7 @@ export default function getInfoLi() {
|
||||||
.desc {
|
.desc {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: var(--ribbon-color);
|
color: var(--ribbon-color);
|
||||||
cursor: help;
|
cursor: help;
|
||||||
padding-left: 0.3em;
|
padding-left: 0.3em;
|
||||||
}
|
}
|
||||||
.tooltip {
|
.tooltip {
|
||||||
|
|
|
@ -96,7 +96,7 @@ export default function getMain(theState) {
|
||||||
return acc;
|
return acc;
|
||||||
|
|
||||||
}, {});
|
}, {});
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
catToOrderedMods: newCats,
|
catToOrderedMods: newCats,
|
||||||
ifModsChangesStashed: true,
|
ifModsChangesStashed: true,
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default function getModList(theState) {
|
||||||
|
|
||||||
const InfoLi = getInfoLi(theState);
|
const InfoLi = getInfoLi(theState);
|
||||||
|
|
||||||
return class ModList extends Component {
|
return class ModList extends Component {
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ export default function getPacChooser(theState) {
|
||||||
|
|
||||||
radioClickHandler(event) {
|
radioClickHandler(event) {
|
||||||
|
|
||||||
const checkChosenProvider = () =>
|
const checkChosenProvider = () =>
|
||||||
this.setState({ chosenPacName: this.getCurrentProviderId() });
|
this.setState({ chosenPacName: this.getCurrentProviderId() });
|
||||||
|
|
||||||
const pacKey = event.target.id;
|
const pacKey = event.target.id;
|
||||||
|
|
|
@ -246,7 +246,7 @@ export default function getProxyEditor(theState) {
|
||||||
proxyStrings.splice(index - 1, 2, proxyStrings[index], proxyStrings[index-1]);
|
proxyStrings.splice(index - 1, 2, proxyStrings[index], proxyStrings[index-1]);
|
||||||
|
|
||||||
that.props.setProxyStringRaw( joinBySemi(proxyStrings) );
|
that.props.setProxyStringRaw( joinBySemi(proxyStrings) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
handleSubmit(that, event) {
|
handleSubmit(that, event) {
|
||||||
|
@ -528,7 +528,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
|
||||||
};
|
};
|
||||||
this.handleSwitch = () => this.setState({ifExportsMode: !this.state.ifExportsMode});
|
this.handleSwitch = () => this.setState({ifExportsMode: !this.state.ifExportsMode});
|
||||||
waitingTillMount.push(newValue); // Wait till mount or eat bugs.
|
waitingTillMount.push(newValue); // Wait till mount or eat bugs.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
@ -570,7 +570,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
|
||||||
|
|
||||||
},
|
},
|
||||||
}, originalProps);
|
}, originalProps);
|
||||||
|
|
||||||
return this.state.ifExportsMode
|
return this.state.ifExportsMode
|
||||||
? createElement(ExportsEditor, props)
|
? createElement(ExportsEditor, props)
|
||||||
: createElement(TabledEditor, props);
|
: createElement(TabledEditor, props);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user