mirror of
https://github.com/atom/atom.git
synced 2026-01-26 23:38:48 -05:00
Remove unused index variable
This commit is contained in:
@@ -18,8 +18,7 @@ class TabView extends SortableList
|
||||
initialize: (@editor) ->
|
||||
super
|
||||
|
||||
for editSession, index in @editor.editSessions
|
||||
@addTabForEditSession(editSession)
|
||||
@addTabForEditSession(editSession) for editSession in @editor.editSessions
|
||||
|
||||
@setActiveTab(@editor.getActiveEditSessionIndex())
|
||||
@editor.on 'editor:active-edit-session-changed', (e, editSession, index) => @setActiveTab(index)
|
||||
|
||||
Reference in New Issue
Block a user