Completed
Push — BaseComponent-BlockCookieNotif... ( e5b0b7 )
by
unknown
03:09
created

script.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 1
c 3
b 0
f 0
nc 1
nop 1
dl 0
loc 6
rs 9.4285
1
import $ from 'jquery'
2
3
class BlockCookieNotification extends window.HTMLDivElement {
4
  constructor (self) {
5
    self = super(self)
6
    self.$ = $(self)
7
    self.resolveElements()
8
    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...
9
  }
10
11
  resolveElements () {
12
    this.$element = $('.element', this)
13
  }
14
15
  connectedCallback () {
16
    
17
  }
18
}
19
20
window.customElements.define('flynt-block-cookie-notification', BlockCookieNotification, {extends: 'div'})
21
22
import './Partials/AcceptButton/script.js'
23
import './Partials/OptoutLink/script.js'