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

9 lines
226 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 NewBranchForm from '~/new_branch_form';
2021-04-17 20:07:23 +05:30
// eslint-disable-next-line no-new
new NewBranchForm(
$('.js-create-branch-form'),
JSON.parse(document.getElementById('availableRefs').innerHTML),
2018-12-13 13:39:08 +05:30
);