debian-mirror-gitlab/app/assets/javascripts/pages/sessions/new/index.js

14 lines
445 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2018-03-17 18:26:18 +05:30
import UsernameValidator from './username_validator';
import SigninTabsMemoizer from './signin_tabs_memoizer';
import OAuthRememberMe from './oauth_remember_me';
document.addEventListener('DOMContentLoaded', () => {
new UsernameValidator(); // eslint-disable-line no-new
new SigninTabsMemoizer(); // eslint-disable-line no-new
2018-11-08 19:23:39 +05:30
new OAuthRememberMe({
2018-03-17 18:26:18 +05:30
container: $('.omniauth-container'),
}).bindEvents();
});