Commit code with double quotes instead of single quotes

This commit is contained in:
Dmitry Yankowski
2020-02-24 21:06:23 -05:00
parent 3bd7c00038
commit 48100ead55
74 changed files with 3184 additions and 3184 deletions

View File

@@ -1,17 +1,17 @@
const EXTENSION_ID = 'amknoiejhlmhancpahfcfcfhllgkpbld'
const EXTENSION_ID = "amknoiejhlmhancpahfcfcfhllgkpbld"
// Check if the Chrome Extension is present
// The Chrome extension injects an empty span to help detection.
// Also check for the presence of window.chrome object to confirm smooth operations
export const hasChromeExtensionInstalled = () =>
document.getElementById('chromePWExtensionDetect') !== null
document.getElementById("chromePWExtensionDetect") !== null
const chromeWithoutProxy = (req, _store) =>
new Promise((resolve, reject) => {
chrome.runtime.sendMessage(
EXTENSION_ID,
{
messageType: 'send-req',
messageType: "send-req",
data: {
config: req,
},
@@ -31,11 +31,11 @@ const chromeWithProxy = (req, { state }) =>
chrome.runtime.sendMessage(
EXTENSION_ID,
{
messageType: 'send-req',
messageType: "send-req",
data: {
config: {
method: 'post',
url: state.postwoman.settings.PROXY_URL || 'https://postwoman.apollotv.xyz/',
method: "post",
url: state.postwoman.settings.PROXY_URL || "https://postwoman.apollotv.xyz/",
data: req,
},
},