Skip to content

Commit 549e349

Browse files
committed
Remove unused parameter
1 parent c1c836c commit 549e349

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/minimap-git-diff-binding.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class MinimapGitDiffBinding
66

77
active: false
88

9-
constructor: (@gitDiff, @minimap) ->
9+
constructor: (@minimap) ->
1010
@editor = @minimap.getTextEditor()
1111
@decorations = {}
1212
@markers = null

lib/minimap-git-diff.coffee

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class MinimapGitDiff
1818

1919
deactivate: ->
2020
@destroyBindings()
21-
@gitDiff = null
2221
@minimap = null
2322

2423
activatePlugin: ->
@@ -59,7 +58,7 @@ class MinimapGitDiff
5958

6059
return unless editor?
6160

62-
binding = new MinimapGitDiffBinding @gitDiff, minimap
61+
binding = new MinimapGitDiffBinding minimap
6362
@bindings.set(minimap, binding)
6463

6564
getRepositories: -> atom.project.getRepositories().filter (repo) -> repo?

0 commit comments

Comments
 (0)