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

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

document.addEventListener('DOMContentLoaded', () => {
  new NewBranchForm($('.js-new-pipeline-form')); // eslint-disable-line no-new

  setupNativeFormVariableList({
    container: $('.js-ci-variable-list-section'),
    formField: 'variables_attributes',
  });
});