mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
WIP: Split panes can be closed with meta-w
Still some issues… view gets screwed up after closing panes in certain layout arrangements.
This commit is contained in:
@@ -2,7 +2,8 @@ _ = require 'underscore'
|
||||
|
||||
_.mixin
|
||||
remove: (array, element) ->
|
||||
array.splice(array.indexOf(element), 1)
|
||||
index = array.indexOf(element)
|
||||
array.splice(index, 1) if index >= 0
|
||||
|
||||
sum: (array) ->
|
||||
sum = 0
|
||||
|
||||
Reference in New Issue
Block a user