Skip to content

Commit fddbbb7

Browse files
committed
Remove unused function parameters
To satisfy eslint
1 parent 1e8514b commit fddbbb7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

binderhub/static/js/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function updateUrls(formValues) {
138138
$('#markdown-badge-snippet').text(markdownBadge(url));
139139
$('#rst-badge-snippet').text(rstBadge(url));
140140
} else {
141-
['#basic-url-snippet', '#markdown-badge-snippet', '#rst-badge-snippet' ].map(function(item, ind){
141+
['#basic-url-snippet', '#markdown-badge-snippet', '#rst-badge-snippet' ].map(function(item){
142142
const el = $(item);
143143
el.text(el.attr('data-default'));
144144
})
@@ -170,20 +170,20 @@ function build(providerSpec, log, fitAddon, path, pathType) {
170170
}
171171
});
172172

173-
image.onStateChange('waiting', function(oldState, newState, data) {
173+
image.onStateChange('waiting', function() {
174174
$('#phase-waiting').removeClass('hidden');
175175
});
176176

177-
image.onStateChange('building', function(oldState, newState, data) {
177+
image.onStateChange('building', function() {
178178
$('#phase-building').removeClass('hidden');
179179
log.show();
180180
});
181181

182-
image.onStateChange('pushing', function(oldState, newState, data) {
182+
image.onStateChange('pushing', function() {
183183
$('#phase-pushing').removeClass('hidden');
184184
});
185185

186-
image.onStateChange('failed', function(oldState, newState, data) {
186+
image.onStateChange('failed', function() {
187187
$('#build-progress .progress-bar').addClass('hidden');
188188
$('#phase-failed').removeClass('hidden');
189189

@@ -199,7 +199,7 @@ function build(providerSpec, log, fitAddon, path, pathType) {
199199
image.close();
200200
});
201201

202-
image.onStateChange('built', function(oldState, newState, data) {
202+
image.onStateChange('built', function(oldState) {
203203
if (oldState === null) {
204204
$('#phase-already-built').removeClass('hidden');
205205
$('#phase-launching').removeClass('hidden');
@@ -296,11 +296,11 @@ function indexMain() {
296296
updatePathText();
297297
updateRepoText();
298298

299-
$('#repository').on('keyup paste change', function(event) {updateUrls();});
299+
$('#repository').on('keyup paste change', function() {updateUrls();});
300300

301-
$('#ref').on('keyup paste change', function(event) {updateUrls();});
301+
$('#ref').on('keyup paste change', function() {updateUrls();});
302302

303-
$('#filepath').on('keyup paste change', function(event) {updateUrls();});
303+
$('#filepath').on('keyup paste change', function() {updateUrls();});
304304

305305
$('#toggle-badge-snippet').on('click', function() {
306306
const badgeSnippets = $('#badge-snippets');

0 commit comments

Comments
 (0)