diff options
author | kushalpandya <kushal@gitlab.com> | 2017-07-20 17:38:35 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-07-20 17:38:35 +0530 |
commit | 4b45a1b322addc6622044830c31c387e899266a4 (patch) | |
tree | 3c35dc3c8ddd32376d950908484e0616b525aef6 /app/assets/javascripts/protected_branches | |
parent | 083ad120705ff1e23e266aeb974dec1284f42322 (diff) | |
download | gitlab-ce-4b45a1b322addc6622044830c31c387e899266a4.tar.gz |
Initialize module on bundle load
Diffstat (limited to 'app/assets/javascripts/protected_branches')
-rw-r--r-- | app/assets/javascripts/protected_branches/index.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app/assets/javascripts/protected_branches/index.js b/app/assets/javascripts/protected_branches/index.js index f4744327402..c9e7af127d2 100644 --- a/app/assets/javascripts/protected_branches/index.js +++ b/app/assets/javascripts/protected_branches/index.js @@ -1,2 +1,9 @@ -export { default as ProtectedBranchCreate } from './protected_branch_create'; -export { default as ProtectedBranchEditList } from './protected_branch_edit_list'; +/* eslint-disable no-unused-vars */ + +import ProtectedBranchCreate from './protected_branch_create'; +import ProtectedBranchEditList from './protected_branch_edit_list'; + +$(() => { + const protectedBranchCreate = new ProtectedBranchCreate(); + const protectedBranchEditList = new ProtectedBranchEditList(); +}); |