debian-mirror-gitlab/app/assets/javascripts/pages/projects/branches/new/index.js
2022-08-13 15:12:31 +05:30

7 lines
223 B
JavaScript

import NewBranchForm from '~/new_branch_form';
// eslint-disable-next-line no-new
new NewBranchForm(
document.querySelector('.js-create-branch-form'),
JSON.parse(document.getElementById('availableRefs').innerHTML),
);