Skip to content

Commit bfc0b94

Browse files
Add ESLint disable comments
1 parent 87c271d commit bfc0b94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/media_source/com_media/js/edit-images.es6.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ class Edit {
159159
/**
160160
* Creates a progress bar element and inserts it into the DOM
161161
*/
162+
// eslint-disable-next-line class-methods-use-this
162163
createProgressBar() {
163164
const mediaLoader = document.createElement('div');
164165
mediaLoader.id = 'media-edit-progress';
@@ -172,12 +173,14 @@ class Edit {
172173
}
173174

174175
// @TODO Update the progress bar
176+
// eslint-disable-next-line class-methods-use-this
175177
updateProgressBar(/* position */) { }
176178

177179
// @TODO Remove the progress bar
178180
/**
179181
* Removes the progress bar element from the DOM
180182
*/
183+
// eslint-disable-next-line class-methods-use-this
181184
removeProgressBar() {
182185
const mediaLoader = document.getElementById('media-edit-progress');
183186
if (mediaLoader) {

0 commit comments

Comments
 (0)