lib/devmind-beautifier-view.js   A
last analyzed

Size

Lines of Code 23

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
nc 1
dl 0
loc 23
rs 10
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A devmind-beautifier-view.js ➔ ??? 0 7 1
1
"use babel";
2
3
export default class DevmindBeautifierView {
4
  constructor(serializedState) {
0 ignored issues
show
Unused Code introduced by
The parameter serializedState is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
5
    // Create root element
6
    this.element = document.createElement("div");
7
    this.element.classList.add("devmind-beautifier");
8
9
    // Create message element
10
  }
11
12
  // Returns an object that can be retrieved when package is activated
13
  serialize() {}
14
15
  // Tear down any state and detach
16
  destroy() {
17
    this.element.remove();
18
  }
19
20
  getElement() {
21
    return this.element;
22
  }
23
}
24