Commit 68cbb7de authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Remove: useless property this.prefix in modules

parent e3463031
Pipeline #5119 passed with stages
in 3 minutes and 27 seconds
// Imports // Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as ClientDetails from "/components/bankerPage/clientDetails.js"; import * as ClientDetails from "/components/bankerPage/clientDetails.js";
...@@ -18,8 +17,6 @@ export async function mount(where) { ...@@ -18,8 +17,6 @@ export async function mount(where) {
class BankerPage { class BankerPage {
constructor() { constructor() {
// Random id seed
this.prefix = RandomString(8);
} }
async mount(where) { async mount(where) {
......
// Imports // Imports
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import { RandomString } from "/services/common/common.js";
import * as BankAccount from "/components/bankerPage/bankAccount.js"; import * as BankAccount from "/components/bankerPage/bankAccount.js";
// DOM elements // DOM elements
...@@ -17,8 +16,6 @@ export async function mount(where, client) { ...@@ -17,8 +16,6 @@ export async function mount(where, client) {
class ClientDetails { class ClientDetails {
constructor(client) { constructor(client) {
// Random id seed
this.prefix = RandomString(8);
this.client = client; this.client = client;
} }
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import * as Users from "/components/users/users.js"; import * as Users from "/components/users/users.js";
import { RandomString } from "/services/common/common.js";
// DOM elements // DOM elements
...@@ -18,8 +17,6 @@ export async function mount(where, parent) { ...@@ -18,8 +17,6 @@ export async function mount(where, parent) {
class Operation { class Operation {
constructor(parent) { constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent; this.parent = parent;
} }
......
// Imports // Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js"; import * as Users from "/components/users/users.js";
...@@ -23,8 +22,6 @@ export async function mount(where, parent) { ...@@ -23,8 +22,6 @@ export async function mount(where, parent) {
class HandleBanker { class HandleBanker {
constructor(parent) { constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent; this.parent = parent;
} }
......
// Imports // Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js"; import * as Users from "/components/users/users.js";
...@@ -25,8 +24,6 @@ export async function mount(where, parent) { ...@@ -25,8 +24,6 @@ export async function mount(where, parent) {
class HandleClient { class HandleClient {
constructor(parent) { constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent; this.parent = parent;
} }
......
// Imports // Imports
import { RandomString } from "/services/common/common.js";
import * as Messages from "/services/messages/messages.js"; import * as Messages from "/services/messages/messages.js";
import * as Auth from "/services/auth/auth.js"; import * as Auth from "/services/auth/auth.js";
import * as Users from "/components/users/users.js"; import * as Users from "/components/users/users.js";
...@@ -28,8 +27,6 @@ export async function mount(where, parent) { ...@@ -28,8 +27,6 @@ export async function mount(where, parent) {
class HandleUser { class HandleUser {
constructor(parent) { constructor(parent) {
// Random id seed
this.prefix = RandomString(8);
this.parent = parent; this.parent = parent;
} }
......
// Imports // 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 * as Auth from "/services/auth/auth.js";
import { Delete } from "/services/common/delete.js"; import { Delete } from "/services/common/delete.js";
import * as HandleUser from "/components/users/handleUser.js"; import * as HandleUser from "/components/users/handleUser.js";
...@@ -18,8 +18,6 @@ export async function mount(where) { ...@@ -18,8 +18,6 @@ export async function mount(where) {
class Users { class Users {
constructor() { constructor() {
// Random id seed
this.prefix = RandomString(8);
} }
async mount(where) { async mount(where) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment