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

Components/BlockCookieNotification/script.js   A

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 script.js ➔ ??? 0 6 1
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'