Skip to content

Commit 935473b

Browse files
committed
Export/import widget: remove unneeded variable
1 parent d736a49 commit 935473b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.travis.jshintexpected

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ django/applications/catmaid/static/js/widgets/clustering_widget.js: line 634, co
6060
django/applications/catmaid/static/js/widgets/clustering_widget.js: line 691, col 13, 'x' is defined but never used.
6161
django/applications/catmaid/static/js/widgets/clustering_widget.js: line 691, col 25, 'h' is defined but never used.
6262

63-
django/applications/catmaid/static/js/widgets/import-export-widget.js: line 1596, col 11, 'result' is defined but never used.
64-
6563
django/applications/catmaid/static/js/widgets/input.js: line 104, col 7, 'self' is defined but never used.
6664
django/applications/catmaid/static/js/widgets/input.js: line 5, col 10, 'Input' is defined but never used.
6765

@@ -186,4 +184,4 @@ django/applications/catmaid/static/libs/ngpre-wasm/ngpre_wasm_worker.js: line 28
186184
django/applications/catmaid/static/libs/ngpre-wasm/ngpre_wasm_worker.js: line 57, col 43, 'use_cache' is defined but never used.
187185
django/applications/catmaid/static/libs/ngpre-wasm/ngpre_wasm_worker.js: line 57, col 54, '_' is defined but never used.
188186

189-
144 errors
187+
143 errors

django/applications/catmaid/static/js/widgets/import-export-widget.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,8 +1606,6 @@ annotations, neuron name, connectors or partner neurons.
16061606

16071607
// Add handler for initiating the export
16081608
dialog.onOK = function() {
1609-
// Collected objects for all skeletons
1610-
var result = {skeletons: {}};
16111609
// Get all selected skeletons from the selected source
16121610
var source = CATMAID.skeletonListSources.getSource($(select).val());
16131611
var skids = source.getSelectedSkeletons();

0 commit comments

Comments
 (0)