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) : ''; let messageHtml = err ? errToHtmlMessage(err) : '';
const warningHtml = warns const warningHtml = warns
.filter((w) => w) .filter((w) => w)
.map( .map(

View File

@ -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) {

View File

@ -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 {

View File

@ -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,

View File

@ -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) {

View File

@ -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;

View File

@ -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);