summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/user_callout.js
blob: b91fc698629f80cf51e847a407e718e6c885d8c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* eslint-disable arrow-parens, class-methods-use-this, no-param-reassign */
/* global Cookies */

((global) => {
  const userCalloutElementName = '#user-callout';

  class UserCallout {
    constructor() {
      this.init();
    }

    init() {
      $(document)
        .on('DOMContentLoaded', () => {
          const element = $(userCalloutElementName);
          console.log('element:', element);
        });
    }
  }

  global.UserCallout = UserCallout;
})(window.gl || (window.gl = {}));