Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « new « branches « projects « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 13ff47d53c2b4ce13caef239ba1ec690fe8ada37 (plain)
1
2
3
4
5
6
7
8
9
10
11
import $ from 'jquery';
import NewBranchForm from '~/new_branch_form';

document.addEventListener(
  'DOMContentLoaded',
  () =>
    new NewBranchForm(
      $('.js-create-branch-form'),
      JSON.parse(document.getElementById('availableRefs').innerHTML),
    ),
);