mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Use cleaner root hash initialization
This commit is contained in:
@@ -63,9 +63,9 @@ class CommandLogger extends ScrollView
|
||||
_.toArray(categories)
|
||||
|
||||
addTreeMap: ->
|
||||
root = {}
|
||||
root.name = "All"
|
||||
root.children = @createRootChildren()
|
||||
root =
|
||||
name: 'All'
|
||||
children: @createRootChildren()
|
||||
node = root
|
||||
|
||||
@treeMap.empty()
|
||||
|
||||
Reference in New Issue
Block a user