diff --git a/app/assets/javascripts/blob/blob_ci_yaml.js.es6 b/app/assets/javascripts/blob/blob_ci_yaml.js.es6 index bb9d0444a8c..dee06a7196f 100644 --- a/app/assets/javascripts/blob/blob_ci_yaml.js.es6 +++ b/app/assets/javascripts/blob/blob_ci_yaml.js.es6 @@ -2,10 +2,6 @@ ((global) => { class BlobCiYamlSelector extends TemplateSelector { - constructor(...args) { - super(...args); - } - requestFile(query) { return Api.gitlabCiYml(query.name, this.requestFileSuccess.bind(this)); } diff --git a/app/assets/javascripts/blob/blob_license_selectors.js.es6 b/app/assets/javascripts/blob/blob_license_selectors.js.es6 index f8391919068..ebc1618816f 100644 --- a/app/assets/javascripts/blob/blob_license_selectors.js.es6 +++ b/app/assets/javascripts/blob/blob_license_selectors.js.es6 @@ -1,5 +1,5 @@ ((global) => { - class BlobLicenseSelectors() { + class BlobLicenseSelectors { constructor({ $dropdowns, editor }) { this.$dropdowns = $('.js-license-selector'); this.editor = editor;