debian-mirror-gitlab/app/assets/javascripts/pages/projects/branches/new/index.js
2021-04-17 20:07:23 +05:30

8 lines
226 B
JavaScript

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