Skip to content

Commit

Permalink
🐛 Fix last remaining deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Dec 2, 2014
1 parent 6e8c823 commit 0a6ea03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mixins/view-management.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ViewManagement extends Mixin
# Internal: Destroys all views currently in use.
destroyViews: ->
view.destroy() for id, view of @minimapViews
@eachEditorViewSubscription?.off()
@eachEditorViewSubscription?.dispose()
@minimapViews = {}

# Internal: Registers to each pane view existing or to be created and creates
Expand Down
2 changes: 1 addition & 1 deletion spec/minimap-render-view-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe "MinimapRenderView", ->
atom.config.set 'minimap.charHeight', 2
atom.config.set 'minimap.charWidth', 1

atom.project.setPath(path.join(__dirname, 'fixtures'))
atom.project.setPaths([path.join(__dirname, 'fixtures')])

waitsFor ->
editor = atom.workspace.getActiveEditor()
Expand Down

0 comments on commit 0a6ea03

Please sign in to comment.