small refactoring

This commit is contained in:
Son NK
2020-09-12 11:09:02 +02:00
parent fa6447c373
commit cf48c2744c
4 changed files with 1 additions and 7 deletions
+1 -3
View File
@@ -2,7 +2,7 @@ import { handleNewRandomAlias } from "./create-alias";
import browser from "webextension-polyfill";
function generateDialogJS(message) {
const content = `
return `
function showSLDialog() {
let slDialog = document.createElement("div");
slDialog.style.position = "fixed";
@@ -28,8 +28,6 @@ function generateDialogJS(message) {
showSLDialog();
`;
return content;
}
function generateAliasHandlerJS(tab, res) {
-1
View File
@@ -8,7 +8,6 @@ import Utils from "../popup/Utils";
/**
* Create random alias
* @param {*} tab
*/
async function handleNewRandomAlias(currentUrl) {
await reloadSettings();
-1
View File
@@ -10,7 +10,6 @@
import "./App.scss";
import VueRouter from "vue-router";
import Navigation from "./Navigation";
import EventManager from "./EventManager";
import SplashScreen from "./components/SplashScreen";
import Header from "./components/Header";
-2
View File
@@ -1,5 +1,3 @@
import EventManager from "./EventManager";
let router = null;
const PATH = {