Remove extra spaces

This commit is contained in:
Ilya Ig. Petrov 2017-06-17 20:13:19 +05:00
parent f31ff6d728
commit 040d598d67
7 changed files with 10 additions and 10 deletions

View File

@ -206,7 +206,7 @@ export default function getApp(theState) {
};
let messageHtml = err ? errToHtmlMessage(err) : '';
const warningHtml = warns
.filter((w) => w)
.map(

View File

@ -65,7 +65,7 @@ export default function getExcEditor(theState) {
return class ExcEditor extends Component {
modsToOpts(pacMods) {
return Object.keys(pacMods.exceptions || {}).sort().map(
(excHost) => [excHost, pacMods.exceptions[excHost]]
);
@ -100,7 +100,7 @@ export default function getExcEditor(theState) {
},
{}),
});
}
isHostValid(host) {

View File

@ -41,7 +41,7 @@ export default function getInfoLi() {
.desc {
text-align: right;
color: var(--ribbon-color);
cursor: help;
cursor: help;
padding-left: 0.3em;
}
.tooltip {

View File

@ -96,7 +96,7 @@ export default function getMain(theState) {
return acc;
}, {});
this.setState({
catToOrderedMods: newCats,
ifModsChangesStashed: true,

View File

@ -7,7 +7,7 @@ export default function getModList(theState) {
const InfoLi = getInfoLi(theState);
return class ModList extends Component {
return class ModList extends Component {
constructor(props) {

View File

@ -88,7 +88,7 @@ export default function getPacChooser(theState) {
radioClickHandler(event) {
const checkChosenProvider = () =>
const checkChosenProvider = () =>
this.setState({ chosenPacName: this.getCurrentProviderId() });
const pacKey = event.target.id;

View File

@ -246,7 +246,7 @@ export default function getProxyEditor(theState) {
proxyStrings.splice(index - 1, 2, proxyStrings[index], proxyStrings[index-1]);
that.props.setProxyStringRaw( joinBySemi(proxyStrings) );
}
handleSubmit(that, event) {
@ -528,7 +528,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
};
this.handleSwitch = () => this.setState({ifExportsMode: !this.state.ifExportsMode});
waitingTillMount.push(newValue); // Wait till mount or eat bugs.
}
componentDidMount() {
@ -570,7 +570,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
},
}, originalProps);
return this.state.ifExportsMode
? createElement(ExportsEditor, props)
: createElement(TabledEditor, props);