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: 364223f18985c6a1fe7bd86c06e8ac0ed2a35b28 (plain)
1
2
3
4
5
6
7
8
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),
);