mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Merge branch 'asyncfs' of github.com:probablycorey/Atomicity into asyncfs
This commit is contained in:
@@ -21,8 +21,14 @@ class RootView extends Template
|
||||
@bindKey 'meta+w', => window.close()
|
||||
@bindKey 'meta+t', => @toggleFileFinder()
|
||||
|
||||
@project = new Project(fs.directory(url)) if url
|
||||
@editor.open url
|
||||
if not url
|
||||
# not sure what to do
|
||||
else if fs.isDirectory url
|
||||
@project = new Project url
|
||||
@editor.open()
|
||||
else
|
||||
@project = new Project(fs.directory(url))
|
||||
@editor.open url
|
||||
|
||||
addPane: (view) ->
|
||||
pane = $('<div class="pane">')
|
||||
|
||||
Reference in New Issue
Block a user