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

blob_dockerfile_selector.js « blob « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4f60cc6ecdf0e81ca441312433def45fbf17ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* global Api */

require('./template_selector');

(() => {
  const global = window.gl || (window.gl = {});

  class BlobDockerfileSelector extends gl.TemplateSelector {
    requestFile(query) {
      return Api.dockerfileYml(query.name, this.requestFileSuccess.bind(this));
    }

    requestFileSuccess(file) {
      return super.requestFileSuccess(file);
    }
  }

  global.BlobDockerfileSelector = BlobDockerfileSelector;
})();