From 040d598d67fe3f74dd2566c648541a801f7326f6 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Sat, 17 Jun 2017 20:13:19 +0500 Subject: [PATCH] Remove extra spaces --- .../extension-common/pages/options/src/components/App.js | 2 +- .../pages/options/src/components/ExcEditor.js | 4 ++-- .../extension-common/pages/options/src/components/InfoLi.js | 2 +- .../extension-common/pages/options/src/components/Main.js | 2 +- .../pages/options/src/components/ModList.js | 2 +- .../pages/options/src/components/PacChooser.js | 2 +- .../pages/options/src/components/ProxyEditor.js | 6 +++--- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js index 4bfd555..be46259 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js @@ -206,7 +206,7 @@ export default function getApp(theState) { }; let messageHtml = err ? errToHtmlMessage(err) : ''; - + const warningHtml = warns .filter((w) => w) .map( diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js index 378e92b..4bf2dbe 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js @@ -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) { diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js index 131ff77..d1f1c53 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/InfoLi.js @@ -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 { diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js index 8ae6249..46b3fbc 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js @@ -96,7 +96,7 @@ export default function getMain(theState) { return acc; }, {}); - + this.setState({ catToOrderedMods: newCats, ifModsChangesStashed: true, diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ModList.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ModList.js index d43c1c1..169eb43 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ModList.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ModList.js @@ -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) { diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/PacChooser.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/PacChooser.js index c5b45b3..894c146 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/PacChooser.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/PacChooser.js @@ -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; diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js index bbca265..31a3eab 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js @@ -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);