Completed
Push — testTinyMceRebase ( 36a97d )
by Doğa
03:12
created

script.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 3 Features 3
Metric Value
cc 1
c 3
b 3
f 3
nc 1
nop 1
dl 0
loc 6
rs 9.4285
1
class BlockWysiwyg extends window.HTMLDivElement {
2
  constructor (self) {
3
    self = super(self)
4
    self.$ = $(self)
5
    self.resolveElements()
6
    return self
0 ignored issues
show
Bug introduced by
The constructor does not have a meaningful return value. Are you sure this is correct?
Loading history...
7
  }
8
9
  resolveElements () {
10
    this.$element = $('.element', this)
11
  }
12
13
  connectedCallback () {
14
    console.log('module BlockWysiwyg connected', this)
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
15
  }
16
}
17
18
window.customElements.define('flynt-block-wysiwyg', BlockWysiwyg, {extends: 'div'})
19