19 lines
433 B
JavaScript
19 lines
433 B
JavaScript
/* 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;
|
|
})();
|