Skip to content
Snippets Groups Projects
Commit 68cbb7de authored by Alexis Poyen's avatar Alexis Poyen
Browse files

Remove: useless property this.prefix in modules

parent e3463031
Branches
No related tags found
No related merge requests found
Pipeline #5119 passed
// Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js";
import * as ClientDetails from "/components/bankerPage/clientDetails.js";
......@@ -18,8 +17,6 @@ export async function mount(where) {
class BankerPage {
constructor() {
// Random id seed
this.prefix = RandomString(8);
}
async mount(where) {
......
// Imports
import * as Auth from "/services/auth/auth.js";
import * as Messages from "/services/messages/messages.js";
import { RandomString } from "/services/common/common.js";
import * as BankAccount from "/components/bankerPage/bankAccount.js";
// DOM elements
......@@ -17,8 +16,6 @@ export async function mount(where, client) {
class ClientDetails {
constructor(client) {
// Random id seed
this.prefix = RandomString(8);
this.client = client;
}
......
......@@ -2,7 +2,6 @@
import * as Auth from "/services/auth/auth.js";
import * as Messages from "/services/messages/messages.js";
import * as Users from "/components/users/users.js";
import { RandomString } from "/services/common/common.js";
// DOM elements
......@@ -18,8 +17,6 @@ export async function mount(where, parent) {
class Operation {
constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent;
}
......
// Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js";
......@@ -23,8 +22,6 @@ export async function mount(where, parent) {
class HandleBanker {
constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent;
}
......
// Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js";
......@@ -25,8 +24,6 @@ export async function mount(where, parent) {
class HandleClient {
constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent;
}
......
// Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js";
......@@ -28,8 +27,6 @@ export async function mount(where, parent) {
class HandleUser {
constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent;
}
......
// Imports
import { AnimateCSS, RandomString } from "/services/common/common.js";
import { AnimateCSS } from "/services/common/common.js";
import * as Auth from "/services/auth/auth.js";
import { Delete } from "/services/common/delete.js";
import * as HandleUser from "/components/users/handleUser.js";
......@@ -18,8 +18,6 @@ export async function mount(where) {
class Users {
constructor() {
// Random id seed
this.prefix = RandomString(8);
}
async mount(where) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment