gitlab-org--gitlab-foss/app/assets/javascripts/user_callout.js

22 lines
494 B
JavaScript
Raw Normal View History

2017-02-15 01:49:36 +00:00
/* 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 = {}));