Skip to content

Commit

Permalink
chore (components): delete garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
AveWycc220 committed Jan 19, 2021
1 parent d39b3cc commit 9ed2a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/main.bundle.js

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions src/components/base.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
export default class Basement {
stat = {}

constructor({renderWorker = undefined, apiWorker = undefined, node = undefined,
typeOfElement = undefined, insert=undefined, insertElement=undefined,
cookieWorker = undefined, childComponents = undefined, prependElements=undefined,
eventHandler = undefined, className = undefined}) {
this.renderWorker = renderWorker
this.eventHandler = eventHandler
constructor({apiWorker = undefined, node = undefined, typeOfElement = undefined, insert=undefined,
insertElement=undefined, cookieWorker = undefined, childComponents = undefined,
prependElements=undefined}) {
this.cookieWorker = cookieWorker
this.apiWorker = apiWorker
this.className = className
this.mainBasement = document.createElement(`${typeOfElement}`)
this.node = document.querySelector(`${node}`)
//this.nodeList = document.querySelectorAll(`${nodeList}`)
this.childComponents = childComponents
this.prependELements = prependElements

Expand Down

0 comments on commit 9ed2a11

Please sign in to comment.